PRTG Custom Sensor - Run script on Ping Up
Modified on 2025-06-10 20:44:46 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
Hi,
First attempt at getting a custom sensor setup. I have a device in PRTG that i currently monitor for ping. Occasionally the Ping will go into a Down state, when it returns to the Up state i want to run a script i have written.
How do i apply this script to run on this Down > Up Status change?
Article Comments
Hi there,
For this you need to create a notification in "Setup | Account Settings | Notifications" where you can select that a script should be executed ("EXECUTE PROGRAM" is what you need to enable in it).
Kind regards,
Erhard
Feb, 2018 - Permalink
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.
Hi there,
For this you need to create a notification in "Setup | Account Settings | Notifications" where you can select that a script should be executed ("EXECUTE PROGRAM" is what you need to enable in it).
Kind regards,
Erhard
Feb, 2018 - Permalink