Is check_users working properly
ankush grover
grover1711 at gmail.com
Thu Nov 10 16:00:01 CET 2005
hey,
I am checking the same host and I ran the check_users with root.
I think andreas is right(restricted proc).
Thanks & Regards
Ankush Grover
On 11/10/05, Fabiano Martins <fabianomartinsrj at gmail.com> wrote:
>
> Are trying to monitor a remote host or the own server that is running
> nagios?
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas
> Ericsson
> Sent: quinta-feira, 10 de novembro de 2005 12:29
> 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?
>
> There are tons of patches that disallow non-root users from seeing who
> are logged in to the system. They're usually called something like
> "restricted proc" or some such and most of them make the /proc
> filesystem readable to members of a certain group (usually named "proc").
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se <http://www.op5.se>
> Tel: +46 8-230225 Fax: +46 8-230231
>
>
> -------------------------------------------------------
> 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
>
>
>
> -------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051110/2d8ce4b4/attachment.html>
More information about the Users
mailing list