Page 1 of 1

WMI Error confused

Posted: Tue Oct 08, 2013 12:11 pm
by vhoover
I am monitoring a few windows servers that have mount points attached. They are all MSSQL servers. Two are Windows Server 2003 R2 with MSSQL 2005 and default instances and two are Windows 2008 R2 with MSSQL2008 and named SQL instances. All return correct metrics except one. It is one of the 2008 servers. The errors I am getting are:

UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:196:main()] ERROR: Login to remote object.

I have verified that each server is configured to allow WMI exactly the same. They have the same user, same password, same permissions, same group membership. However, there is no luck. I have tried to run it with a domain admin account and still no luck. The account it uses is a local administrator with permissions to the Root of WMI, is part of the the DCOM group, Performance Log Users group, and Performance Monitoring Users group. When I run the wmi error code I receive the following response:

The operating system cannot run this application program.

Does anybody have any thoughts, on what is going on and how I might resolve it?

Re: WMI Error confused

Posted: Tue Oct 08, 2013 2:53 pm
by yancy
vhoover,

Can you test using WBEMtest and verify you can connect to the WMI provider remotely for a different Windows machine?

start > run > wbemtest

Thanks,

-Yancy

Re: WMI Error confused

Posted: Tue Oct 08, 2013 3:29 pm
by vhoover
That server is accepting WMI queries, but the error still persists. I have tried from NagiosXI from two different accounts and still no luck. but if I try from SQL Server Mgmt Studio on my local box it works fine.

Re: WMI Error confused

Posted: Tue Oct 08, 2013 4:12 pm
by yancy
Can you post the example wmic query command you're using. Omit user credentials if needed.

Also, ensure that if you're using a domain name it's defined like this:

Code: Select all

domain/user

NOT domain\user
-Yancy

Re: WMI Error confused

Posted: Sat Oct 26, 2013 3:57 pm
by vhoover
It ended up being a symptom of a bigger issue (an OS related issue), all other uses of the check_wmi_plus appear to work without issue.

Re: WMI Error confused

Posted: Mon Oct 28, 2013 10:41 am
by sreinhardt
did you manage to get it worked out then, or still having issues we can assist with?

Re: WMI Error confused

Posted: Mon Oct 28, 2013 11:19 am
by vhoover
I believe it has been worked out, thanks.

Re: WMI Error confused

Posted: Mon Oct 28, 2013 11:34 am
by slansing
Excellent, we will close this thread for now.