[Top][All Lists]

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

Re: monit alerts

From: Jovan Kostovski
Subject: Re: monit alerts
Date: Tue, 14 Aug 2007 13:06:14 +0200

Hi Martin,

Thanks for the reply.

What I basically need is to configure monit to send traps whenever
an event occurs. Practically I want all the messages (or just errors)
that are logged in the monit log file to be sent to the SNMP manager.

As far as I see, the only way to make this work is to use
IF <TEST> THEN EXEC "script"
constructor which must be placed in
CHECK <file>, <process>
block. Is this right?

Is it possible to set a global rule whenever an event or error occurs
(start, stop, failed...).
IF <TEST> THEN EXEC "script"
but not specifically for a service, some sort of process independent
global alert.
How can I do that?

BR, Jovan

On 8/13/07, Martin Pala <address@hidden> wrote:
> Hi,
> you can use exec action to send snmp trap
> Martin
> Jovan Kostovski wrote:
> > Hi,
> >
> > Is it possible (is there a mechanism) to send monit alerts as
> > trap notifications to a SNMP manager, by use of command such as snmptrap?
> >
> > As far as I know, monit sends alerts only by e-mail, so the
> > only option that I can think of is to write a script that will
> > parse these e-mails or the monit log file and send trap signals
> > to the SNMP manager.
> > Any other ideas?
> >
> > I've read something in list archives about snmp support in some future 
> > versions,
> > but will it be soon?
> >
> >
> > BR, Jovan
> >
> >
> > --
> > To unsubscribe:
> >
> --
> To unsubscribe:

Advice for software developers and horse racing enthusiasts: Avoid hacks

reply via email to

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