I've created a PowerShell application that creates a socket connection to a port hosted by a service for an application inside my company.
Everytime the socket connection is not established I receive an alert and I have to manually go to the server and kill/start that process.
I saw that there are some "Actions" on the advance alert manager that I can have a vbscript running on the trigger actions for the alert.
My main concern is if it's possible pass arguments to that VBscript so I can give the IP and the process name that needs to be restarted.
I'm not versed on building VBScripts and I've been speaking with one developer and they can build this service if it's possible to pass argument to this execution (I have to monitor 5 different services in 5 different servers, so I cannot afford to create 25 different applications for this).
Any ideas? if this is possible, how can I send those arguments through the Advance Alert Manager?
Thanks!