I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs)
USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: > iam using nagios-3.0.4 and while using check_users plug in getting the > number of users logged message.But is there any plugin or way to see > the current users lists on that. > > > > > Thanks, > > Sukesh V > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@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