procmail
[Top] [All Lists]

track error messages to limit notification

1998-11-28 04:47:51
I'd like a way to have procmail process alert messages but it it gets the 
same alert every 15 minutes, only notify me on the first alert....maybe even 
the first one every day or something like that but not once every 15 
minutes.  Any ideas?  I have a similar process (service monitoring) running 
under DOS and it uses various date strings stuffed into the environment and 
creates a trigger file for each successive alert, tests to see if an alert 
has been sent out this (day, hour, half-day, etc.).  I guess probably the 
best way to handle this would be to have procmail launch a shell script 
(perl script?) when certain alerts were received.

I think I can work my way through this but if somebody has something running 
that I can start with, that would be a big help.

---Jerry Shenk, Master CNE -
D&E Computer Networking Services, formerly Com Tech Technical Services 
(717) 569-5800, http://www.dect.com/jas
Snail Mail: 248 Granite Run Drive * Lancaster, PA 17601
Internet E=mail: jas(_at_)dect(_dot_)com | MHS via INFINITE: JAS @ TECHSVCS
FAX: (717) 560-1682


<Prev in Thread] Current Thread [Next in Thread>