New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.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


Custom Event Log Sensor

Votes:

0

Your Vote:

Up

Down

Hi,

Would it be possible to create a custom Event Log Sensor which looks for the latest backup exec result and returns it to the sensor and then changes the sensor state based on what is returned?

E.g "Backup Failed" triggers the sensor to go to error state but if it is followed by a "Backup Successful" the next day it will go in to normal state.

Marcus

backup backup-exec event-log prtg

Created on May 15, 2014 1:53:41 PM by  MarcusSjogren (0) 1



2 Replies

Votes:

0

Your Vote:

Up

Down

Another questions that rose.

Can I return both a value (used by the sensor) and a message (added to the sensor log)?

Created on May 16, 2014 9:04:10 AM by  MarcusSjogren (0) 1



Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for your KB-Posts. Both should be possible with a self-written Custom sensor, just have the sensor check the logs, and either return an error as long as the newest matching event means failed, otherwise return an "OK".
The sensor return should be in the format:

value:message

Please be aware though, that if you return an error from the script, the value will be disregarded in PRTG then. So it might be better to work with Error-Limits then in PRTG for the error case.
Please also see your PRTG under "Setup"->"PRTG API"->"Custom Sensors".

best regards.

Created on May 19, 2014 9:19:28 AM by  Torsten Lindner [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.