monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit unresponsive to status requests?


From: Marco Ermini
Subject: Re: monit unresponsive to status requests?
Date: Tue, 19 Jul 2005 22:22:34 +0200

On 7/18/05, Jan-Henrik Haukeland <address@hidden> wrote:
[...]
> > So we would only miss few option... executing an external script,
> 
> Not sure what you have in mind here?

This is what the OpenView sysadmin sometimes did. They have the agent
running an external script using, for instance, Korn shell. In this
script you can put anything, for instance, check that you have at
least 4 Java processes, or grep a log file, or whatever. Then the
result (0 as positive, other values as wrong) will trigger the alarm
or not.


> > checking (grep for strings/patterns/regex) a log file...
> 
> It's coming, see http://www.tildeslash.com/monit/doc/next.php#31
[...]

Note that it's very powerful on OpenView. Apart for using a "special"
regex syntax (I understood that it didn't match totally with
"standard" regular expressions), they are also able to put
"exceptions" on front of any rule (for instance: grep for "<Error>",
but skip if you also have the string "BEA-10024" (because you have too
much of them and they didn't affect functionality, for instance).

This is useful, because you want to have only one regular exception
parser inherited for many alarms, then you put exception for the
single one. Of course, the usefullness of this feature heavily depends
on the way OpenView works.


Cheers.
-- 
Marco Ermini
http://www.markoer.org
Dubium sapientiae initium. (Descartes)
address@hidden # mount -t life -o ro /dev/dna /genetic/research
<< This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in
error, please notify the sender immediately and delete the original.
Any other use of the email by you is prohibited. >>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]