check_users: list the users?

Jay R. Ashworth jra at baylink.com
Fri Apr 18 14:16:41 CEST 2008


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 plugin on nagiosexchange.org, it's written in bash so 
> will work on all Linux boxen as well as FreeBSD or any other unicies 
> that you can install Bash on.
> 
> It can take whitelists/blacklists of users, (I recommend the whitelist) 
> which I use to successfully catch developers or anyone else logging in 
> to any of my *nix servers that aren't on my shortlist.
> 
> You can find it here:
> 
> http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1415.html

Sounds like the ticket, Mr. Seldon.  Er, um... :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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