Xymon Mailing List Archive search

hobbit-alert.cfg and top page

4 messages in this thread

list Dominique Frise · Sun, 16 Apr 2006 11:26:22 +0200 ·
Hi,

We would like certain managers to receive alerts when any status change 
from green to purple/yellow/red on the top page.

We've put this directive in hobbit-alert.cfg:

PAGE=/
MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

but the recipient does never get mailed.

What am I missing?

Dominique
list Rob MacGregor · Sun, 16 Apr 2006 11:57:01 +0100 ·
quoted from Dominique Frise
On 4/16/06, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:
Hi,

We would like certain managers to receive alerts when any status change
from green to purple/yellow/red on the top page.

We've put this directive in hobbit-alert.cfg:

PAGE=/
MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

but the recipient does never get mailed.

What am I missing?
The help details how to test your alert configurations from the command line.

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Henrik Størner · Sun, 16 Apr 2006 13:43:42 +0200 ·
quoted from Dominique Frise
On Sun, Apr 16, 2006 at 11:26:22AM +0200, Dominique Frise wrote:
We would like certain managers to receive alerts when any status change 
from green to purple/yellow/red on the top page.

We've put this directive in hobbit-alert.cfg:

PAGE=/
MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

but the recipient does never get mailed.
That one is tricky. Page-paths are always relative in Hobbit, so
the "PAGE=/" will never match anything. It would make sense to
allow this, but it doesn't work right now.

PAGE=%^$
	MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

(i.e. using a regular expression to match an empty string) should 
give you the result you want.


Regards,
Henrik
list Dominique Frise · Sun, 16 Apr 2006 14:12:57 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Sun, Apr 16, 2006 at 11:26:22AM +0200, Dominique Frise wrote:
We would like certain managers to receive alerts when any status change from green to purple/yellow/red on the top page.

We've put this directive in hobbit-alert.cfg:

PAGE=/
MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

but the recipient does never get mailed.

That one is tricky. Page-paths are always relative in Hobbit, so
the "PAGE=/" will never match anything. It would make sense to
allow this, but it doesn't work right now.

PAGE=%^$
	MAIL user-1e34c4d49f3b@xymon.invalid REPEAT=24h RECOVERED

(i.e. using a regular expression to match an empty string) should give you the result you want.


Regards,
Henrik

Yes that does it!

Thanks Henrik,

Dominique