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 19:15:41 CEST 2005


silly typo, nevermind!

Now if I could only get it to do a warn/critical if a user is not logged in.


On 6/1/05, Blake Krone <blakekrone at gmail.com> wrote:
> Just ran another check, when I run the command from the CLI logged in
> as nagios it does not work, I can get like the NC_Net client version
> and other items, but not WMI queries.
> 
> Are there permissions that I need to set on the NC_Net client side of
> things to allow these?
> 
> -Blake
> 
> On 6/1/05, Blake Krone <blakekrone at gmail.com> wrote:
> > 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