[Nagiosplug-help] check_users
martinus.nel at scarceskills.com
martinus.nel at scarceskills.com
Wed Oct 13 08:20:51 CEST 2004
Dear all,
I think there is a mistake in check_users. Please look at the following:
-----
# w
16:14:45 up 42 days, 48 min, 1 user, load average: 0.10, 0.15, 0.16
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 xxxxxxxxxxxxxxxx 1:57pm 0.00s 0.33s 0.02s w
# /usr/local/nagios/check_users --help
check_users (nagios-plugins 1.3.1) 1.3
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 1999-2002 Ethan Galstad(nagios at nagios.org)
This plugin checks the number of users currently logged in on the local
system and generates an error if the number exceeds the thresholds
specified.
Usage: check_users -w <users> -c <users>
Options:
-w, --warning=INTEGER
Set WARNING status if more than INTEGER users are logged in
-c, --critical=INTEGER
Set CRITICAL status if more than INTEGER users are logged in
-h, --help
Print detailed help screen
-V, --version
Print version information
# /usr/local/nagios/check_users -w 1 -c 2
USERS WARNING - 1 users currently logged in
-----
The check_user --help clearly states "more than" for the trigger. Am I
missing something here ?
Martinus.
--
---------------------------------------------------------------------------
DISCLAIMER
This e-mail message and any attachments are confidential and may also be a
privileged communication. It is intended solely for the person(s) to whom
it is addressed. If you are not the intended addressee of the message you
must take no action based on it. Please reply to this message to let us
know you received it in error and also delete the message from your system.
Internet e-mails are not necessarily secure and you should be mindful of
this when e-mailing us.
The contents of an attachment to this e-mail may contain software viruses
which could damage your own computer system. Whilst we have taken every
reasonable precaution to minimise this risk, we cannot accept liability for
any damage which you sustain as a result of software viruses. You should
carry out your own virus checks before opening the attachment.
---------------------------------------------------------------------------
More information about the Help
mailing list