Xymon Mailing List Archive search

No pages when going from yellow to red

list Etienne Roulland
Fri, 04 Nov 2005 12:32:20 +0100
Message-Id: <user-5f6196969216@xymon.invalid>

Hi,

i got this night a similar problem.

A CPU alert was sent but never get the recovered. We trace our sending
script, it was not called to send the recovered msg. 
Looks like red => green = recovered
red -> yellow -> green = no recovered

My conf :

HOST=*
	SCRIPT /usr2/hobbit/server/sendit.sh  SMS COLOR=red,purple REPEAT=15m
DURATION>6m RECOVERED FORMAT=sms

Regards


On mer, 2005-11-02 at 14:04 -0500, Pat Vaughan wrote:
ACK!  So, if what do we do if we want to get Emails for yellow alerts, and
pages for red alerts and not get repeat pages every x minutes?  It seems
that a red alert is usually pretty important, and we want to know about it
immediately, instead of waiting until the repeat time expires (which we
set to 30d per a previous recommendation).

I would expect that a change in the state of a test would reset the REPEAT
counter.
On Tue, Nov 01, 2005 at 10:25:12PM +0100, Henrik Stoerner wrote:
I've been trying to re-create this problem, but I do get the alerts I
expect to get.

One thing that might confuse some people: The REPEAT setting counts
"across colors". E.g. if you have REPEAT=30 (the default, 30 minutes
between alerts), and the sequence of events goes like

  22:05 Test goes yellow - alert (yellow) is sent
  22:35 Test still yellow - repeat alert (yellow) is sent
  22:45 Test goes red. No alert is sent because it is only 10 minutes
        since the last alert went out.
  23:05 Test still red - now an alert (red) is sent.


Henrik

-- 
Etienne Roulland -- CVF Bordeaux