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
WMI Monitor CPU Usage error
Re: WMI Monitor CPU Usage error
Can you run these commands from the command line:
and post the output?
Note: You can remove the sensitive info.
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 95Note: 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
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
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
Re: WMI Monitor CPU Usage error
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
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
actually as seen here
it should be
as in
it should be
Code: Select all
domain/\usernameCode: Select all
./check_wmi_plus.pl -H xxx.xxx.xxx.xxx -m checkcpuq -u domain/\Nagios -p password-
slocrystal
- Posts: 17
- Joined: Wed Jun 29, 2011 5:25 pm
Re: WMI Monitor CPU Usage error
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.
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
Excellent.slocrystal wrote:Looks like the /\ did the trick. I have confirmed within the services in the http console as well.
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.slocrystal wrote: Do you guys recomend the nsclient++ or the wmi monitoring for most success?
Thanks.