Page 1 of 1

Windows Services Monitoring with WMI privileged account

Posted: Tue Nov 12, 2019 10:42 pm
by rajudvsn
Hi Everyone,

We are facing an issue where we have a Windows monitoring account with all required WMI privileges granted (as per nagios WMI document). however, with this account CPU, Memory, Disk usage metrics are all working good. however, Service monitoring seems to be still failing. it seems like the WMI account requires more than than given permission to gain access to Service Control manager for remote WMI account. we cannot give this monitoring account a local admin rights.

Is there any work around where this WMI privileged account can get read only permissions to Service Control manager? there seems to be some discussion available and none seem to be a working standard. any anybody had a solution working to have this working good?

Regards

Re: Windows Services Monitoring with WMI privileged account

Posted: Wed Nov 13, 2019 3:41 pm
by cdienger
Have you reviewed https://support.nagios.com/kb/article/n ... g-579.html ? It has a section specific to services.

Re: Windows Services Monitoring with WMI privileged account

Posted: Thu Nov 14, 2019 12:44 am
by rajudvsn
@cdienger

i did read through the given article and tried the steps there, however, after applying those settings to SC Manager with our specific monitoring SID, somehow, the server did not startup after a reboot was initiated.

So trying to figure out what crashed our server after these steps were followed.

Regards

Re: Windows Services Monitoring with WMI privileged account

Posted: Thu Nov 14, 2019 3:34 pm
by mbellerue
What version of Windows is that server running? I would like to try spinning up that version and testing our documentation against it.

Re: Windows Services Monitoring with WMI privileged account

Posted: Fri Nov 15, 2019 1:44 am
by rajudvsn
@mbellerue :
We tested it on Windows 2012 R2 and 2008 R2

Best Regards

Re: Windows Services Monitoring with WMI privileged account

Posted: Fri Nov 15, 2019 4:15 pm
by mbellerue
This document has the better layout for using a non-administrator user account with WMI.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf