Is check_users working properly

Marc Powell marc at ena.com
Thu Nov 10 15:42:13 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson
> Sent: Thursday, November 10, 2005 8:29 AM
> To: ankush grover
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Is check_users working properly
> 
> ankush grover wrote:
> > hey friends,
> >
> > I am using Nagions 2.0b on Fedora Core 3.I have configured
check_users
> to
> > see how many users are currently login into the system.
> >
> > define command{
> > command_name check_local_users
> > command_line $USER1$/check_users -w 15 -c 10
> > }
> >
> > Through the url http://localhost/nagios
> >
> >  Current Status: OK
> > Status Information:USERS OK - 0 users currently logged in
> >
> > But If I run the check_users from command line it shows there are
users
> >
> > ./check_users -w 10 -c 15
> > USERS OK - 5 users currently logged in |users=5;10;15;0
> >
> 
> Are you running this command-line check as the nagios user?

And just to be thorough, is the host 'cluster1' the machine nagios is
running on and the machine you're intending to check?

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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