WMI Fails to Check Services, Processes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: WMI Fails to Check Services, Processes

Post by lmiltchev »

Mike,
I am not sure if this is going to help, but you can try granting permissions to a user to monitor specific services via subinacl. For example, to allow the "wmiagent" user to monitor the "W3SVC" service, you would need to run from the DOS Prompt on the Windows server:

Code: Select all

subinacl /service W3SVC /GRANT=<domain>\wmiagent=LSQI
where you substitute <domain> with the actual domain name.

If you want to learn more about subinacl or if you don't have it installed, you can read the article below, which has a download link from the microsoft.com.

http://www.waynezim.com/2010/02/how-to- ... -subinacl/

Note: This may or may not work in your environment. Don't try it in production. :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Re: WMI Fails to Check Services, Processes

Post by mikew »

Thanks that is helpful. However, the company has 800 Windows servers and they chose WMI so that they would not have to touch them so I am not thinking that would work.
Mike Weber

Nagios Training/Consulting
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: WMI Fails to Check Services, Processes

Post by BanditBBS »

Hey Mike,

The script I linked will allow the user connecting via WMI to see any "built-in" service. The additional script I am trying to get my hands on fixes 3rd party services access for the WMI user. So you may want to give the script I linked a try. May have to script around it to push from afar so you don't have to touch them all as desired. Unfortunately, without admin access, these scripts were the best option for us when using WMI.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: WMI Fails to Check Services, Processes

Post by lmiltchev »

Make, did you give BanditBBS' script a try? Let us know when/if the issue is resolved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked