I am monitoring a service on a windows 2003 server and testing the restart service program. When the service is running, everything is green in APM. When I stop the service, APM goes red.
I have an alert configured that triggers when the service is down and does 2 things - send an email to me, and execute the program APMServiceControl
I get the email stating the service is down, but the service does not get restarted.
The Execute Program action is - C:\Program Files\Solarwinds\Orion\APM\APMServiceControl.exe ${ComponentId}
Is this the correct syntax. I followed the directions in Restarting Windows Services with an Alert Action help file, but am unclear if I am replacing ${ComponentId} with the component id of the service that is being monitored?
Thanks
Bryan
APM 4.0.2 SP4