Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Module to limit email floods?

by thargas (Deacon)
on Oct 15, 2010 at 12:28 UTC ( [id://865466]=note: print w/replies, xml ) Need Help??


in reply to Re: Module to limit email floods?
in thread Module to limit email floods?

My problem with all these different methods of rate-limiting is that there is no One True Way, even within a single system.

You may want to only get a single message for one kind of error condition, but for some others you may want periodic messages, and for some you might even want to have the messages get escalated to some other person or use some other method of notification.

What we really need is a completely separate, simple, configurable notification system, with an API, web interface and command-line tools. If done properly, any other system that needed notification-sending could use it.

Unfortunately, to be really effective, it needs to know the current status of "things", which is getting into the realm of monitoring. I don't see the various monitoring systems changing to use this hypothetical notification system, so the only way I can see to make this work would be to include adapters for various monitoring systems which would continuously import state. Then the notifications could be triggered off it. That would be a lot to do, hoping that it would be used.

Replies are listed 'Best First'.
Re^3: Module to limit email floods?
by Anonymous Monk on Oct 15, 2010 at 13:16 UTC
    I think you described log4perl (or whatever) + syslog + nagios , maybe

      Hmm. Maybe you could implement this with log4perl as one of the pieces using a custom appender(s) and systematic use in the logging programs/modules, but I doubt that it'd be very usable or efficient.

      No. I was thinking of something more like a mq or soap with structured messages feeding a database for the input+state. And something that doesn't exist for configuration+notification.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://865466]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found