I want to monitor a process in Windows that is run on demand. When its not needed the exe process is stopped and PRTG reports it as down/missing. At the moment I have a permanent rule on it to stop it alerting.
The requirement is to get the information out of the process that shows its usage statistics and not when its down. Is there a way to stop PRTG doing a down check on it?
Article Comments
Hello,
Thank you for your message.
I'm afraid that PRTG will continue to execute requests on the device and report the sensor as DOWN while the process is not running. To avoid being notified every time the sensor goes down, simply remove the notification triggers.
If the process is executed at regular interval, you could use the API of PRTG to pause/resume the sensor automatically.
Here is the corresponding API calls:
Resume a sensor:
https://PRTG_SERVER/api/pause.htm?id=objectid&action=1&username=PRTG_USER&passhash=PASSHASH
Pause a sensor:
https://PRTG_SERVER/api/pause.htm?id=objectid&pausemsg=yourmessage&action=0&username=PRTG_USER&passhash=PASSHASH
Kind regards.
Dec, 2020 - Permalink
Hello,
Thank you for your message.
I'm afraid that PRTG will continue to execute requests on the device and report the sensor as DOWN while the process is not running. To avoid being notified every time the sensor goes down, simply remove the notification triggers.
If the process is executed at regular interval, you could use the API of PRTG to pause/resume the sensor automatically. Here is the corresponding API calls:
Resume a sensor:
https://PRTG_SERVER/api/pause.htm?id=objectid&action=1&username=PRTG_USER&passhash=PASSHASH
Pause a sensor:
https://PRTG_SERVER/api/pause.htm?id=objectid&pausemsg=yourmessage&action=0&username=PRTG_USER&passhash=PASSHASH
Kind regards.
Dec, 2020 - Permalink