Hi there,
This is not the intended use case for this sensor. This sensor will constantly monitor if the service is running, if the service is detected as stopped, then PRTG tries to restart the service.
In order to restart services, via triggers, you need to write a custom script (e.g. in PowerShell). This can be added to a notification template under "Setup > Account Settings > Notification Templates > ANY NOTIFICATION > Execute Program".
Best regards.
Add comment