WMI Monitor CPU Usage error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
slocrystal
Posts: 17
Joined: Wed Jun 29, 2011 5:25 pm

WMI Monitor CPU Usage error

Post by slocrystal »

I have just setup our instance of Nagios and have been trying to use the WMI and nagios client features with no luck. The below error is what I receive when trying to use the wmi monitor for cpu usage. Any ideas.

UNKNOWN: Could not retrieve all required data. Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
ERROR: dcom_create_object.
ERROR: Login to remote object.
NTSTATUS: NT_STATUS_LOGON_FAILURE - Logon failure
Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
ERROR: dcom_create_object.
ERROR: Login to remote object.
NTSTATUS: NT_STATUS_LOGON_FAILURE - Logon failure
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: WMI Monitor CPU Usage error

Post by lmiltchev »

Can you run these commands from the command line:

Code: Select all

cd /usr/local/nagios/libexec
./check_wmi_plus.pl -H <your_windows_machine_IP_address> -u <username> -p i <password> -m checkdrivesize -a c: -w 80 -c 95
and post the output?

Note: You can remove the sensitive info.
Be sure to check out our Knowledgebase for helpful articles and solutions!
slocrystal
Posts: 17
Joined: Wed Jun 29, 2011 5:25 pm

Re: WMI Monitor CPU Usage error

Post by slocrystal »

Output is as follows:

UNKNOWN: Could not retrieve all required data. Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
ERROR: dcom_create_object.
ERROR: Login to remote object.
NTSTATUS: NT_STATUS_LOGON_FAILURE - Logon failure
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: WMI Monitor CPU Usage error

Post by lmiltchev »

Are you sure that you are providing the right credentials? Also, if you are using a "typical" windows login, such as: "domain\username", try this: "domain/username" or "domain\/username", instead and see if it is going to work.
Be sure to check out our Knowledgebase for helpful articles and solutions!
slocrystal
Posts: 17
Joined: Wed Jun 29, 2011 5:25 pm

Re: WMI Monitor CPU Usage error

Post by slocrystal »

I have tried the credentials with both the / and \. I am using my domain admin credentials as well. I have confirmed that the target machine as well has the WMI-in and WMI-DCOM-In firewall rules enabled and set to allow.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: WMI Monitor CPU Usage error

Post by scottwilkerson »

actually as seen here

it should be

Code: Select all

domain/\username
as in

Code: Select all

./check_wmi_plus.pl -H xxx.xxx.xxx.xxx -m checkcpuq -u domain/\Nagios -p password
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
slocrystal
Posts: 17
Joined: Wed Jun 29, 2011 5:25 pm

Re: WMI Monitor CPU Usage error

Post by slocrystal »

Looks like the /\ did the trick. I have confirmed within the services in the http console as well.

Do you guys recomend the nsclient++ or the wmi monitoring for most success?

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: WMI Monitor CPU Usage error

Post by scottwilkerson »

slocrystal wrote:Looks like the /\ did the trick. I have confirmed within the services in the http console as well.
Excellent.
slocrystal wrote: Do you guys recomend the nsclient++ or the wmi monitoring for most success?

Thanks.
This depends on what you are trying to accomplish and what you wall want to monitor. WMI is fine, except lack some of the features that NSClient++ has.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked