Re: [Nagios-users] check_users: list the users?

2008-04-18 Thread Hari Sekhon
Jay R. Ashworth wrote: I've just installed Nagios 3 and begun to configure it for my network (25ish servers, all but 2 running Linux, 250ish workstations, all but about 25 running Ubuntu), and after slogging through SSL error on check_nrpe -- which means about 3 different things having nothing

Re: [Nagios-users] check_users: list the users?

2008-04-18 Thread Jay R. Ashworth
On Fri, Apr 18, 2008 at 09:22:55AM +0100, Hari Sekhon wrote: Jay R. Ashworth wrote: I'm putting this on servers that, typically, have no humans logged in at all. Since that's true, I'd like to have the list of users from who -q returned as part of the status message. See my show_users

Re: [Nagios-users] check_users: list the users?

2008-04-18 Thread Hari Sekhon
Jay R. Ashworth wrote: On Fri, Apr 18, 2008 at 09:22:55AM +0100, Hari Sekhon wrote: Jay R. Ashworth wrote: I'm putting this on servers that, typically, have no humans logged in at all. Since that's true, I'd like to have the list of users from who -q returned as part of the status

[Nagios-users] check_users: list the users?

2008-04-17 Thread Jay R. Ashworth
I've just installed Nagios 3 and begun to configure it for my network (25ish servers, all but 2 running Linux, 250ish workstations, all but about 25 running Ubuntu), and after slogging through SSL error on check_nrpe -- which means about 3 different things having nothing to do with SSL -- and the

Re: [Nagios-users] check_users: list the users?

2008-04-17 Thread Gary Every
Could write a script that runs on the local machine(s) when called from nagios via snmp This will require that all snmp's are set up alike on all the local machines, and a line formatted similarly below be added to each /etc/snmp/snmpd.conf file: exec check_users /usr/local/bin/check_users.sh

Re: [Nagios-users] check_users: list the users?

2008-04-17 Thread Matthias Flacke
Jay R. Ashworth wrote: I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users -- I'm putting this on servers that, typically, have no humans logged in at all. Since that's true, I'd like to have the list of users from who -q returned as part of the status message. a)