Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: script to monitor and page...

by perlknight (Pilgrim)
on Feb 22, 2006 at 01:34 UTC ( #531855=note: print w/replies, xml ) Need Help??

in reply to Re: script to monitor and page...
in thread script to monitor and page...

Yes. I am aware of BigBrother,Nagios, and Proc::ProcessTable. I was hoping to get ideas on how to keep track if an alert has been sent and if it is sent then don't sent it again. Any idea?

Replies are listed 'Best First'.
Re^3: script to monitor and page...
by McDarren (Abbot) on Feb 22, 2006 at 01:56 UTC
    Well it depends on the solution you choose. It is possible to configure Nagios to do this, see here.

    And I'm pretty sure that Big Brother can also be configured to warn/page only once per alert - but again, check the docs.

    If you were just monitoring a single or a few processes and rolling your own simple monitor using Proc::ProcessTable, then it's just a matter of working out exactly what you want, and then defining a few rules. For example, you may set a flag once an alert goes off and a notification is sent, and then only reset the flag after either the alert goes away, or a certain time has elapsed. Writing a script should be the easy part - it's defining the business rules and getting them right that is the tricky bit :)

    Darren :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-03-28 22:17 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (70 votes). Check out past polls.