I have had the issue a couple of times recently where when one of my polling engines gets rebooted for patches / maintenance, it quits communicating with the Orion server. When I log and look at the services, I usually see that the Syslog service isn't running. I simply stop / restart all of the services and this fixes the problem.
What I would like to do is create a VB Script or batch file that would stop / restart the services when the alert gets triggered. I have the alert set up that it will email / text me, but the reboots are typically in the middle of the night so I don't know about the issue until the next morning.
Can someone provide me some guidance on setting up the program / script?