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:35:46 CEST 2005
I'm running it on CLI as root, but the permissions are the same as
every other check command
-blake
On 6/1/05, Bill Akins <Bill_Akins at emoryhealthcare.org> wrote:
> Are you running the command as root at the CLI or as the user nagios runs
> under? Could be a rights issue.
>
> >>> Blake Krone <blakekrone at gmail.com> 6/1/2005 12:18 PM >>>
>
> ./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
>
-------------------------------------------------------
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