Alert Trigger action- Reboot VM against many VM's when a process stops


This is my 1st post so please go easy.

I am just after some advice if possible on how to setup an alert trigger. We have an application monitor setup that monitors the exact same exe.process on 45 machines. When the process stops on any of those 45 machines we would like to reboot the VM to to resolve the issue.

I was just wondering if anybody has got any ideas or experience of just setting up one alert to cover this scenario. I am presuming this can be done through the alert trigger of calling a power shell scrip to reboot but any ideas how I extract from Solarwinds which VM the process has stopped on to pass on the script?

Hope that makes sense.



  • If you had HCO advanced or VMAN you could use the manage VM alert action which makes it much easier to reboot the VM. But if wanting to use a script, you can pass variables in your execute external program. Such as  ${N=SwisEntity;M=Caption} or ${N=SwisEntity;M=IP_Address} and other node variables can be passed.

    Like this 

    c:\path\to\script\myscript.ps1 ${N=SwisEntity;M=IP_Address}

    So your reboot script can take the IP or hostname as an argument. 

    You could also try to call on the script in another way. Put in external program field like this:
    WMIC /node:${N=SwisEntity;M=Caption} process call create 'cmd.exe /c "C:\path\to\your\external\program.exe"'