New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Regarding sensors that return text

Votes:

0

Your Vote:

Up

Down

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 by  Phillsm (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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.

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



Please log in or register to enter your reply.


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.