Page 4 of 4

Re: WMI Unknown

Posted: Thu Mar 01, 2012 5:34 pm
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.

Re: WMI Unknown

Posted: Thu Mar 08, 2012 4:36 pm
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.

Re: WMI Unknown

Posted: Thu Mar 08, 2012 4:50 pm
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.

Re: WMI Unknown

Posted: Thu Mar 08, 2012 4:57 pm
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

Re: WMI Unknown

Posted: Thu Mar 08, 2012 6:06 pm
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 \.

Re: WMI Unknown

Posted: Mon Mar 12, 2012 9:40 am
by cwscribner
Yes. The way its written out for our config is domain/\Nagios. This was working up until recently.

Re: WMI Unknown

Posted: Mon Mar 12, 2012 12:49 pm
by yancy
Can you give this a try:

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