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

event handlers in PRTG?!

Votes:

0

Hi all,

I am new here, just trying to understand PRTG. I have 10y experience with nagios / centreon monitoring systems, so I am looking for the similar functionality also here.. Not sure if this is good way how to learn PRTG ;)

I understand probes, sensors,.. But cannot find "event handlers". In Nagios this is used to "auto-correct" the issue. Not sure if PRTG has this ability ?

Imagine situation, Apache httpd stopped responding @ tcp 80, sensor is down. Now I would like to use monitoring system to fire some action and restart the service before it raises a notification to me. So at first try to fix, if not solved send notification.

Is it possible to do something similar in PRTG ?

Many thanks !

auto-correct event-handler script

Created on Dec 7, 2020 9:59:20 AM



1 Reply

Votes:

0

Hello,

Thank you for your message.

Regarding your question, I think you are looking for the Notification Triggers in PRTG, which allow you to define actions based on the status of the sensors.

You will find information about PRTG Notifications as well as the different actions you can use in the following manual. We also have a dedicated page which provides the steps to set up notifications, as well as a Youtube video which covers the points above: https://www.youtube.com/watch?v=QUsyEpPP8S4

Then, you can absolutely configure a notification trigger to execute a script to restart a service. Here is a KB article about this matter for Windows devices: https://kb.paessler.com/en/topic/40713-can-i-automatically-restart-a-windows-service-with-prtg

We also have a similar KB article for Linux systems: https://kb.paessler.com/en/topic/70771-how-can-i-monitor-and-automatically-restart-a-service-on-a-linux-host

If you have further questions, let us know. Kind regards.

Created on Dec 7, 2020 10:43:53 AM by  Florian Lesage [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.