[Top][All Lists]

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

Re: [monit] using "if match"

From: Martin Pala
Subject: Re: [monit] using "if match"
Date: Fri, 22 Feb 2008 22:29:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20080129 Iceape/1.1.8 (Debian-1.1.8-2)

Nick Upson wrote:

[GMT Feb 22 11:15:02] debug    : Regex match notification is sent to
[GMT Feb 22 11:15:02] error    : Aborting event

# why? what event?

The "abort event" is here because the alert failed (most probably because mailserver was unavailable). Monit has event queue support for such cases, see default monitrc comments or manual for more details:

## By default monit will drop alert events if no mail servers are available.
## If you want to keep the alerts for a later delivery retry, you can use the
## EVENTQUEUE statement. The base directory where undelivered alerts will be
## stored is specified by the BASEDIR option. You can limit the maximal queue
## size using the SLOTS option (if omitted, the queue is limited by space
## available in the back end filesystem).
# set eventqueue
# basedir /var/monit # set the base directory where events will be stored
#     slots 100           # optionaly limit the queue siz


reply via email to

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