I've been tasked with creating a way to monitor QV service health on our servers. I.e. if a service goes down, an email will be sent to a specified user group notifying them. My initial idea was to create a VB script that checks the status of each service, and returns a certain value if any are not running. It would then trigger an alert message. I would set this up to run in the Task Scheduler every 15 min or so.
What I'm wondering is if there is VB code to check for QV service status? I.e. is there a function that will return if a service is running/not running?
Any help appreciated !