V14.4.12.3410
I need a customized notification to restart a web service on Windows in case it's not working as expected anymore. The way to configure this is well described in the manuals and I found also a lot of articles here. In the manual usually the term probe server is used: https://www.paessler.com/manuals/prtg/notifications_settings.htm#program "/Notifications/EXE sub-directory of the probe system's PRTG installation"
...but it seems that exe notifications can only be triggered from the Core server, as the ../Notifications/EXE subdirectory doesn't exist on a probe server. Is that correct?
In my environment, the Core server is not located in the same LAN as the probes and a very harsh security policy doesn't allow remote code execution.
Article Comments
The OP should probably try and fix the crashing webserver, restarting is only a workaround and shouldn't be automated.
Nevertheless the information about the EXEs only running on the core is useful. In that case I would probably use "execute http action" to call a script on the remote probe or even the affected device, in that way replicating what the EXE would have done.
Dec, 2015 - Permalink
Dear Ksue
You are correct, a notification cannot start an executable on the remote probe. The approach now would be to use a script on the core server which in turns starts a script on the remote probe. Since this is disabled in your LAN, it is not possible to perform an action on the remote probe with a notification.
Nov, 2014 - Permalink