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

Custom Event Log Sensor

Votes:

0

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



2 Replies

Votes:

0

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



Votes:

0

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]




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.