Question about Page= in hobbit-alerts
list Michael Lowery
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
▸
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