Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Gurus,
I am in a urgent need of an script to alert in case a specific operation like MOD/DEL/ADD over a user is performed several times, the idea is to put a threshold like 100 or something, so that script can alert us in case the MOD/DEL/ADD is performed more than the set threshold.
I've a very basic idea of perl/shell script. I would like to put a script to monitor a access log every 10 min. Here is my log format:
-- log -- [20/Dec/2010:09:41:15 -0500] conn=867190 op=17 msgId=21 - MOD dn="uid= +acc107,ou=internal,ou=People,dc=eis,dc=xxx,dc=com" -- log --
I would like to put a script to pull out a user, and check for occurrence with the logs, and then if the occurrence is more than threshold then alert us. Please help me in this regard.
- Pamela Honneycut
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help Required
by MishaMoose (Scribe) on Dec 20, 2010 at 15:26 UTC | |
by Anonymous Monk on Dec 20, 2010 at 15:34 UTC | |
by MishaMoose (Scribe) on Dec 20, 2010 at 16:06 UTC | |
by Anonymous Monk on Dec 20, 2010 at 17:23 UTC | |
by MishaMoose (Scribe) on Dec 20, 2010 at 18:43 UTC | |
|
Re: Help Required
by chrestomanci (Priest) on Dec 20, 2010 at 16:20 UTC | |
|