I would like to process a XML file. This large file contains 15 variables I want to monitor. I set up a PowerShell script which filters only the 15 variables overs more than 100 and outputs a correct well-formate XML.

Now, the data I get is a integer which is growing. I would like to have a derivative-like ; to know how the value increased since the last check. The problem is that the Custom EXE/XML Sensor do not owns the "Counter" mode as for "Custom EXE Sensor"

How can I do ? Thanks, Regards,


Article Comments

Hi,
in the XML you return, please add the following tag between the according <result> tags.

<mode>difference</mode>

This will tell PRTG to handle the value for this particular channel as counter.
Best regards


Jul, 2014 - Permalink