Page 2 of 2

Re: MSSQL/IIS

Posted: Fri Aug 12, 2011 12:00 pm
by DragonJTS
So I installed the WMI wizard on different wmware machine, and WMI checks worked on it. Then I looked at the version and discovered that the WMI wizard uses an older version of check_wmi_plus (1.42) then my machine with the checks returning null (1.47, previously 1.46). When I upgraded the working machine to 1.47, the checks returned null, and reinstalling the wmi wizard fixed them.

Not sure if this is of any use, but here are the results I got for a check process command of "explorer.exe" between two different versions.

1.47 - latest version (released yesterday, though 1.46 also returned null in Nagios)

Code: Select all

OK - Found 2 Instance(s) of "Explorer.exe" running (0 excluded).  (List is on next line)|'Process Count'=2; 'Excluded Process Count'=0; 
The process(es) found are 2x explorer.exe
1.42 (installed by WMI wizard, overwrote 1.47)

Code: Select all

OK - Found 2 Instance(s) of "Explorer.exe" running. (List is on next line)|'Process Count'=2; 
The process(es) found are 2x explorer.exe

Re: MSSQL/IIS

Posted: Fri Aug 12, 2011 12:18 pm
by Aadjusy
I am sorry, that has interfered... At me a similar situation. Write here or in PM.

Re: MSSQL/IIS

Posted: Mon Aug 15, 2011 11:06 am
by nscott
Dragon, I'll look into the source code the check_wmi plug and see why the newer version wouldn't be returning a value (hence null)

Re: MSSQL/IIS

Posted: Wed Aug 17, 2011 2:41 pm
by DragonJTS
I tried the check_mssql_health plugin, and it works fine, without needing the sql instance.