monit-general
[Top][All Lists]
Advanced

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

Re: monit alerts


From: Martin Pala
Subject: Re: monit alerts
Date: Tue, 14 Aug 2007 21:57:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1)

Currently just global alert ('set alert ...') is implemented this way. The M/Monit will have SNMP support.

Martin

Jovan Kostovski wrote:
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...).
Execute
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:
http://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general







reply via email to

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