What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Regarding sensors that return text



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) ?

error value xml

Created on Aug 6, 2013 12:44:42 PM

1 Reply



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

              <text>Your error message</text>

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

Created on Aug 6, 2013 4:10:58 PM by  Greg Campion [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.