No need to feel stupid, lets just hope that that solves your issue.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)
WMI Unknown
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: WMI Unknown
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: WMI Unknown
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
Where you succefull in upgrading to 1.49 of check_wmi_plus?
can you post some of service checks that are failing for example.
can you post some of service checks that are failing for example.
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: WMI Unknown
I uploaded the 1.49 script to the server and replaced the wizard with the most updated version.
Some Errors...
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
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 \.
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: WMI Unknown
Yes. The way its written out for our config is domain/\Nagios. This was working up until recently.
Re: WMI Unknown
Can you give this a try:
/usr/bin/wmic -U someDomain/administrator%n@giosadmin1 //192.168.5.105 "select * from Win32_ComputerSystem"
/usr/bin/wmic -U someDomain/administrator%n@giosadmin1 //192.168.5.105 "select * from Win32_ComputerSystem"