Hello, it's possible to get data via http ? not ssh as i use it now
I have php script that generate xml like this one.
<?xml version="1.0" encoding="utf-8"?> <prtg> <result> <channel>SHI-F2-b0fa.eb56.5ec4</channel> <value>17</value> </result> <result> <channel>SHI-F1-0006.f6ec.d7fd</channel> <value>7</value> </result> <result> <channel>SHI-7c69.f6e1.dc05</channel> <value>5</value> </result> <result> <channel>SHI-c08c.601f.24b7</channel> <value>1</value> </result> <result> <channel>SHI-7c69.f6e1.e0f7</channel> <value>2</value> </result> <result> <channel>SHI-c08c.601f.25a1</channel> <value>1</value> </result> <result> <channel>????? ?????????????</channel> <value>33</value> <mode>Absolute</mode> </result> </prtg>
Article Comments
it's not so usefull...
There only one way to make custom sensor with multiple channels? runtime file on probe or scripts on remote linux machine ?
Apr, 2014 - Permalink
If you write your own executable (as a custom exe/script sensor in PRTG then), you can choose which ever protocol you want, with which the executable then connects to the Linux target. The connection then is part of your executable, as well as the result gathering and parsing.
Apr, 2014 - Permalink
Hello,
thank you very much for your KB-Post. You could try using the HTTP XML/REST Sensor to gather such values with HTTP. However, this sensor is currently limited to only get one value per sensor. So you would need several sensors, one for each value.
best regards.
Apr, 2014 - Permalink