WMI: Ok from command line, fails from Nagios (NC_Net v2.26 check_nt_net v1.22)

Blake Krone blakekrone at gmail.com
Wed Jun 1 18:18:45 CEST 2005


./check_nt_net -H $HOSTNAME$ -v WMICHECK -l
"cimv2^UserName^Win32_ComputerSystem"
 
That command works from the command line when I run it with an IP, but
when it gets executed out of Nagios it does not work, gives "Client -
ERROR: Cannot Process use * for root namespace list."

Basically what I want to eventually do is check to see if "admin" is
logged in or not, we have a few processes that require admin to be
actually logged into the machine.

Thanks in advance!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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