I have a XML sensor that simply returns the value of a node, so most of the time it will display

value of node result is SUCCESS or something very close to that, however when something goes wrong and the xml value changes to FAILURE and the message returned by the sensor becomes "value of node result is FAILURE", logically the sensor thinks that everything is alright because it's doing its' job by retrieving the value.

however is there a way to make the sensor report error (change color to yellow or red, for map display purposes) ?


Article Comments

To return an error, you would need to program the sensor to return the failure text in a format like so:

              <prtg>
              <error>1</error>
              <text>Your error message</text>
              </prtg>

Then it will display your message as well as go into an error state.


Aug, 2013 - Permalink