Greetings! I have a sensor that monitors a state of RAID controller and Virtual disks. It makes output like this:
<prtg> <result> <channel>PERC Status</channel> <value>0</value> <channel>Virtual Disk sys</channel> <value>0</value> <channel>Virtual Disk bu</channel> <value>0</value> </result> </prtg>
The same i see with "Write exe results to disk" My problem is that i can see only one channel "PERC Status" in PRTG, there is no others at sensor's page and settings page. This is my first powershell sensor, there was not such a problem with .net sensors.
I'm very curious. What could be a possible reason of this?
Greetings! Thank you for your KB-post.
There's a slight syntax issue. Each <channel><value> should be enclosed by a <result> (you're only opening <result> at the top and closing it at the end, like the <prtg> tag), please refer to this example for the correct syntax.
Fore more information, see PRTG Manual: Custom Sensors.
Best Regards,
Luciano Lingnau [Paessler Support]
Sep, 2016 - Permalink