check_users reports back incorrectly

Marouane HIMDI marouane.himdi at kereval.com
Thu Nov 27 17:56:19 CET 2008


Hi Alan
Here is mine. Hope this address your need


Best regards

Dr Marouane HIMDI
Ingénieur R&D/R&D Engineer
 

KEREVAL
4, rue Hélène Boucher
Z.A. Bellevue
35235 Thorigné Fouillard 
Tel : +33 (0)2 23 20 36 64
http://www.kereval.com
 
P Pensez à l'environnement : n'imprimez ce message et ses pièces jointes que
si nécessaire !
-----Message d'origine-----
De : Alan McKay [mailto:alan.mckay at gmail.com] 
Envoyé : jeudi 27 novembre 2008 17:36
À : Nagios Mailinglist
Objet : [Nagios-users] check_users reports back incorrectly

Hey folks,

It seems that check_users does not correctly report the number of
people logged on.   It reports the number of active sessions which is
not at all the same thing.

I have a box with 2 users on it, with check_users being called with
defaults -w 5 and -c 10.   One of the 2 users has 4 sessions, and the
other has 1.  So I"m getting a warning when I should not be getting
one.

Is there another plugin which will report this correctly?   Or will
have have to roll my own?

thanks,
-Alan

-- 
"I destroy my enemies when I make them my friends"
                        - Abraham Lincoln

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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 --------------
A non-text attachment was scrubbed...
Name: check_Nbusers
Type: application/octet-stream
Size: 1198 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081127/4bc29c1f/attachment.obj>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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