WMI Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: WMI Error

Post by mcapra »

That error almost exclusively pertains to Windows permissions issues or incorrect credentials. Have you tried creating a fresh WMI user following the documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
https://www.mcapra.com/
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: WMI Error

Post by SETR »

Yes, with no luck but I was able to use the user to connect to the windows machine using PRTG and Solarwinds without any issues.
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: WMI Error

Post by SETR »

I tried connecting to another windows server and to my surprise the credentials went through. But when I tried to look at the service status I got the same error:

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

I have attached a screenshot as well.
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: WMI Error

Post by dwhitfield »

SETR wrote:Also, have you set up a 1-hour quickstart session? https://www.nagios.com/services/quickstart/, Yes, I have one setup for this coming Thursday
Were you able to get this resolved in the quickstart?
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: WMI Error

Post by SETR »

unfortunately no. We spent the one hour to troubleshoot this issue with no luck :-(. I was really hoping that this will get resolved. Any other suggestions on how to get this resolved is really appreciated. I cannot justify paying for NagiosXI to management if a free software like solarwinds is able to connect to our VM's using WMI without any issue.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: WMI Error

Post by mcapra »

I think this might be an issue with the version of WMIC we distribute with Nagios XI. I'm going to explore some alternatives that may be implemented in the future, though unfortunately I'm unable to offer an immediate solution to the problem. I know you mentioned that agents were going to be prohibitive, though enabling the Windows SNMP agent might be one option that requires less overhead:

https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Former Nagios employee
https://www.mcapra.com/
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: WMI Error

Post by SETR »

We were able to enable SNMP without an issue and would be proceeding with setting up all our VM's with SNMP. Thank you for your support!!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: WMI Error

Post by rkennedy »

SETR wrote:We were able to enable SNMP without an issue and would be proceeding with setting up all our VM's with SNMP. Thank you for your support!!
Awesome - did you have any further questions about WMI?

As for the WMI portion, I'd be interested to see what the calls from the wmic bin directly result in. Were they working properly?
Former Nagios Employee
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: WMI Error

Post by SETR »

Well, just keep us posted if you ever find a resolution for WMI.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: WMI Error

Post by dwhitfield »

It seems as though we don't have a good mechanism for updating people about bug fixes other than the changelog. I do know we have someone looking into this, but unfortunately I can't really give an ETA. If you just want to bookmark this thread and ask again in a couple of months, we will be happy to give you a status update.
Locked