WMI and perfmon

Terry td3201 at gmail.com
Sun Oct 3 17:56:32 CEST 2010


Hello,

I am trying to use the agentless WMI plugins to monitor a bunch of
items about SQL, Exchange, whatever.  Just for easy conversation, I am
simply trying to get transactionspersec counter via WMI:

C:\>cscript.exe //nologo //T:10
c:\nrpe_nt\plugins\v2\check_counter_counter.vbs -h "server" -class
"Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases" -inst "_Total"
-prop "TransactionsPersec" -w "80" -c "90"
Unknown - No data received from WMI;

It appears that the Windows server does not have it's performance
counters in WMI.  This fails on both a SQL 2008 as well as SQL 2005.
What am I missing?

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list