Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by perlknight (Pilgrim)
on Feb 22, 2006 at 01:34 UTC ( [id://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 :)

    Cheers,
    Darren :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found