I created some monitors in SCOM 2012 to monitor some third-party services on one of our Windows 2008R2 SP1 servers (virtual). In the custom monitor, I created a "Start Service" Recovery Task using this guide:
http://www.opsconfig.com/?p=478
But the Recovery Task is failing. I looked at the Health Explorer for the critical error notifiying me that the service stopped and it shows that the recovery task ran successfully but has the following error:
Output |
None |
Error |
The service name is invalid. More help is available by typing NET HELPMSG 2185. |
Exit Code: 2 |
I have the Recovery Task configured as follows (bear in mind I'm testing this on a monitor that is only enabled for my test server, and i'm testing it with a non-critical service (Adobe Acrobat Update Service.))
If I connect to the server via RDP and use a command prompt to CD to C:\Windows\system32 and execute net.exe start AdobeARMservice, it starts fine.
What's up with this? I even tried sc.exe but that failed as well.