WMI Unknown

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: WMI Unknown

Post by scottwilkerson »

cwscribner wrote:I feel stupid for not considering this earlier but the user is in active directory so I've reached out to the client to explore if they've had a problem in that regard.

As far as the check_wmi files, they were root:root but I've changed them per your suggestion. libexec/ has the correct permissions (775)
No need to feel stupid, lets just hope that that solves your issue.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: WMI Unknown

Post by cwscribner »

According to the client, there's been no change in AD. Oddly enough, Nagios can still monitor the explorer.exe process...it just can't monitor anything else.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: WMI Unknown

Post by yancy »

Where you succefull in upgrading to 1.49 of check_wmi_plus?

can you post some of service checks that are failing for example.
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: WMI Unknown

Post by cwscribner »

I uploaded the 1.49 script to the server and replaced the wizard with the most updated version.


Some Errors...

Code: Select all

CPU Usage	Unknown	-5s	5/5	2012-03-08 16:52:49	UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
Drive C: Disk Usage	Unknown	7d 3h 45m 53s	5/5	2012-03-08 16:49:30	UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
Explorer	Unknown	-5s	5/5	2012-03-08 16:49:37	UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
Memory Usage	Unknown	7d 3h 45m 53s	5/5	2012-03-08 16:49:38	UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
Page File Usage	Unknown	7d 3h 47m 8s	5/5	2012-03-08 16:51:19	This Mode is no longer used as it was proven to be inaccurate. Automatically using -m checkpage instead. UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line

Code: Select all

Memory Usage	Unknown	-54s	5/5	2012-03-08 16:51:15	UNKNOWN - The WMI query had problems. The error text from wmic is: [librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000236) in dcerpc_pipe_connect_ncacn_ip_tcp_recv
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: WMI Unknown

Post by yancy »

and you have the the username in the form of domain/username. WMIC uses the / to separate username and domain, while in windows it's a \.
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: WMI Unknown

Post by cwscribner »

Yes. The way its written out for our config is domain/\Nagios. This was working up until recently.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: WMI Unknown

Post by yancy »

Can you give this a try:

/usr/bin/wmic -U someDomain/administrator%n@giosadmin1 //192.168.5.105 "select * from Win32_ComputerSystem"
Locked