UNKNOWN when using WMI--failed to bind uuid

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

UNKNOWN when using WMI--failed to bind uuid

Post by cwscribner »

Hi all.

I switched all of my windows servers over to WMI monitoring. I thought I was all set but apparently not....Nagios is throwing this error for every service

Code: Select all

UNKNOWN: Could not retrieve all required data. Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
With the exception of a few listed as "Plugin timeout". The u:p pair that's supposed to be used to access these is located in Active Directory and is a domain user so I should have access to all the servers. How do I fix these errors? Are there additional permissions needed at the Active Directory level?
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: UNKNOWN when using WMI--failed to bind uuid

Post by yancy »

Hi cwscribner,

is the domain user a member of the administrators group? I would use wbemtest and try a wmi query to ensure you can connect in a windows environment.

for example,

start > run > wbemtest > connect

namespace = \\remotemachine\root\cimv2
username=<username of domain user>
password=<password>

if wbemtest can't connect, nagiosxi won't be able to monitor either.

-Yancy
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: UNKNOWN when using WMI--failed to bind uuid

Post by cwscribner »

SOLVEDSOLVEDSOLVEDSOLVEDSOLVEDSOLVEDSOLVEDSOLVEDSOLVED

The username needs the domain before the username. e.g. [domain]/\[user] mydomain/\Nagios Forward slash is needed for escaping the backslash.
Ex: ./check_wmi_plus.pl -H 192.168.1.23 -m checkcpuq -u domain/\Nagios -p password
OK - Average CPU Queue Length 0.0 (3 points with 1 sec delay gives values: 0, 0, 0)|'Avg CPU Queue Length'=0.0;
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: UNKNOWN when using WMI--failed to bind uuid

Post by Box293 »

This might be a good one to add to the FAQs
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: UNKNOWN when using WMI--failed to bind uuid

Post by cwscribner »

Box 293, I 100% agree. Such a simple solution that has sucked up weeks of time.
Locked