[Top][All Lists]

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

Re: [monit] alert clause gone wild

From: monit user
Subject: Re: [monit] alert clause gone wild
Date: Wed, 24 Oct 2007 15:03:33 -0700
User-agent: Thunderbird (Macintosh/20070728)

Sorry, I wasn't clear, I did want all alerts to go to both my addresses.
I just didn't realize that the "instance" events were associated with the check system - I thought that instance events were a hidden global level, not associated with any checks, so that even a monitrc with no checks would still send the instance events.

Martin Pala wrote:
Please read monit manual:

The "set alert ..." is global for all services - you can use local/per-service alert when needed. You can also filter the events (the particular event type which is related to monit start/stop/reload is called "instance").


monit user wrote:
I am trying to add a secondary email for just certain conditions but that email is receiving an alert when I restart monit, too. I only want that address to receive mail for the specific situations where I use it. I can't figure out what I am doing wrong, never used this feature of monit before...

set alert address@hidden
set alert address@hidden

check system
  if loadavg (5min) > 5.0 2 times within 3 cycles then alert
alert address@hidden


check process httpd with pidfile /var/run/
   if failed host port 80 then alert
alert address@hidden

To unsubscribe:

To unsubscribe:

reply via email to

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