Hi all.
I had an interesting note brought up to me recently in reference to monitoring with WMI and how that works with active directory. Here's the details...
If using WMI to monitor a machine, does the username and password have to be local on the machine or does the u:p pair just have to exist in Active Directory?
Monitoring using WMI
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Monitoring using WMI
I believe you can use it either way, however, you should have administrative rights to the local machine.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring using WMI
Either way. I use a AD service account for all domain systems and local admin account for those not on the domain, such as those in a DMZ, etc. For ease of maintenance, if security allows it, set the password in a resource.cfg macro such as $USER10$ so you can use that in all your service checks and just change the macro value should the password change.
- Kyle
Re: Monitoring using WMI
Thats a good idea, thanks for the input!
Re: Monitoring using WMI
I do use the $user8$ and $user9$ for the username and password. Important note, Samba likes passwords to be simple, no longer than 8 chars. I also was having authentification issues with the WMIC downloaded from Nagios Library. While the version numbers are the same there is a newer version that doesn't fail authentification out there. I have posted about this and a search should bring up more details.
Grumpy Olde IT Guy