cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

Restart Service in the New Alert (web) Creator

Jump to solution

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-f...

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

1 Solution
Level 7

Just I quick up date. The guys from Solarwind got back to me and the variable has now change to:

          ${N=SwisEntity;M=ComponentID}


Just in-case anyone gets stuck here too.


Latham

View solution in original post

1 Reply
Level 7

Just I quick up date. The guys from Solarwind got back to me and the variable has now change to:

          ${N=SwisEntity;M=ComponentID}


Just in-case anyone gets stuck here too.


Latham

View solution in original post