hi

we have a temp sensor which we would like to monitor with PRTG.

I have downloaded the trail and installed but i am struggling to setup the monitoring of our temp sensor.

The temp sensor has the following webpage which when browsing to the page via IE returns the following XML

<?xml version="1.0" encoding="ISO-8859-1"?>
-<Sensatronics hb="1916308" id="EA7H5G0T155">
-<Group id="1">
-<Probe id="1">
<Value>23.1</Value>
</Probe>
-<Probe id="2">
<Value>30.6</Value>
</Probe>
-<Probe id="3">
<Value>-99.9</Value>
</Probe>
-<Probe id="4">
<Value>-99.9</Value>
</Probe>
</Group>
</Sensatronics>

how can i create a sensor within prtg so that it can monitor the probes 1 and 2 values. i have look at the XML/rest sensor documentation but cannot figure out what i should be doing.

please help


Article Comments

Dear Jason,

there are two options here:

1) Use a custom script which reads the web content (can be done with Powershell) and parses the script (Powershell allows to cast the result to an XML so you can access the content as an XML object) and creates a new XML output which adheres to the PRTG API.

2) As alternative, you can employ the Rest Custom sensor. While it allows to use a custom channel definition, the sensor also has a channel-discovery mode for automatic result searches. In order to use this sensor, please first create a device object in PRTG with the web server address as device address.


Jul, 2019 - Permalink