[hobbit] Question about Page= in hobbit-alerts
Henrik Stoerner
henrik at hswn.dk
Thu May 26 14:59:04 CEST 2005
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 myaddress at mydomain.com
>
> 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 myaddress at mydomain.com
This sets up an alert for any host on any subpage below the "mon1" page.
Henrik
More information about the Xymon
mailing list