This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Restart Service in the New Alert (web) Creator

Hi Guys

Apologies in advance if this is a dumb question.

I have been trying to get an alert to trigger a range of services to restart if the go down.

Now some guides are saying there was an option in the Advanced Alert Centre, but I was lead to believe that this is not used any more after the lasted upgrade. Since then I have been using the integrated web-based Alert creator.

I setup the Alert to trigger an external program using the "APMServiceControl.exe." and using the "${ComponentId}"  variable to pass the ID to the string, but it seems to not be a valid variable in Solarwinds any more?

Can any one point me in the right direction?

Many Thanks

Latham

Article I followed:

https://support.solarwinds.com/SuccessCenter/s/article/Monitor-alert-and-restart-a-Windows-service-from-SAM

Alert Command String:

APMServiceControl.exe ${ComponentId} -c=Restart

APMServiceControl.exe ${{ComponentId}} -c=Restart

Note: It does work if I manly put in the ID number