WMI Query fails but test check succeeds-Solved

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

WMI Query fails but test check succeeds-Solved

Post by isadmin »

We are trying to implement a WMI check and the command succeeds via command line and the test check in GUI but fails
when implemented ....
he is the error
Unknown
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.
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied
Last edited by isadmin on Wed Aug 27, 2014 8:16 am, edited 1 time in total.
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

Re: WMI Query fails but test check succeeds

Post by isadmin »

here is the command
./check_wmi_plus.pl -H ip address -u domain/user -p xxxxxxx -m checkvolsize -a E: -w 85 -c 95 -t 60
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

Re: WMI Query fails but test check succeeds

Post by isadmin »

doh fixed it...back slash in username and pass was wrong in GUI command being sent
Locked