[Nagiosplug-devel] Nagiosplug 1.4.6 check_users $Revision: 1.22 $ RFE
Hunt, Ian
Ian.Hunt at globalcrossing.com
Wed Mar 28 13:34:59 CEST 2007
Hi All
May I add a Request for Enhancement to your UNIX compatible plugin list.
1 Filter by Username
Accept a new argument : regex expression
Use the argument to make a comparison against the usernames logged on :
report count of matches.
e.g. check_user -w 1 -c 1 -e "root[0-9]"
2 Logins outside working hours
Accept two new arguments : start time and end time (In 24hr clock
format)
Use the arguments to compare the filtered output against a Time Window :
during the window logins are acceptable.
The timestamp is taken from the host the check is run on and thus not
the Central Nagios Hub.
Report count of matches
e.g. check_user -w 1 -c 4 -a 07:15 -z 20:15 -e
"root|backup|appadm|dbaadm|sysadm"
Thanks for all your efforts to date.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20070328/964775a4/attachment.html>
More information about the Devel
mailing list