Can the Orion APM be configured to restart a windows service if it see's the service go down?
Hi,
The following should help you:
Restarting Windows Services with an Alert Action
Thanks,
Yann
How does this program work in conjunction with the Windows service recovery actions? Does it compete with it? Do I need to set all my service recovery actions to "Take No Action"?
If anything, I imagine it would complement the recovery actions. Since the recovery actions are usually executed immediately, you can have the trigger delayed for a couple of minutes. If the service is still down, the alert will trigger. Then, you could have the the alert action repeat its attempt to restart the service at specific intervals until it's back up.
One potential problem here is that the account under which Orion is running may not have the correct rights on the remote server. I don't see anywhere in the advanced alerts console to set which account should be used to issue the command to the other server's failed service.
The APMServiceControl utility take the Component Monitor Id of a Windows Service Monitor on the command line. Since this utility uses WMI to restart the service, we use the service name and credentials defined in the Component Monitor you specified.
Thank you. I understand how that works now. It's not explicit in any of the documentation & making this clear might makes things easier for people who want to use this functionality.