Xymon Mailing List Archive search

Question about Page= in hobbit-alerts

2 messages in this thread

list Michael Lowery · Thu, 26 May 2005 07:44:49 -0500 ·
Running 4.02

I have a page defined as mon1 in bb-hosts, there are no hosts defined on
the page, but there are 2 subpages defined, mon1-a and mon1-b.  

I setup an alert which does not work, that looks like:

PAGE=mon1 SERVICE=* DURATION>10
MAIL user-beabdad30f6e@xymon.invalid

Do I have to define this for each subpage to get it to work?  If so, how
do I format the PAGE= ?

Thanks,
Michael
list Henrik Størner · Thu, 26 May 2005 14:59:04 +0200 ·
quoted from Michael Lowery
On Thu, May 26, 2005 at 07:44:49AM -0500, Lowery, Michael wrote:
I have a page defined as mon1 in bb-hosts, there are no hosts defined on
the page, but there are 2 subpages defined, mon1-a and mon1-b.  

I setup an alert which does not work, that looks like:

PAGE=mon1 SERVICE=* DURATION>10
MAIL user-beabdad30f6e@xymon.invalid

Do I have to define this for each subpage to get it to work?  If so, how
do I format the PAGE= ?
Use a regular expression to match the pagenames. Like this:

PAGE=%mon1/.* DURATION>10
	MAIL user-beabdad30f6e@xymon.invalid

This sets up an alert for any host on any subpage below the "mon1" page.


Henrik