Xymon Mailing List Archive search

hobbit-alerts config and PAGE definition

list Henrik Størner
Sat, 6 Aug 2005 17:39:57 +0200
Message-Id: <user-9b3d1d5c1697@xymon.invalid>

On Tue, Aug 02, 2005 at 12:31:59PM -0400, Sue Bauer-Lee wrote:
How does the syntax work in the hobbit-alerts.cfg for the PAGE directive
if multiple pages are to be defined?

In our environment, the bb-hosts file contains an entry for itself
followed by x number of "include" lines. Each included file then contains
some number of "page" directives. I don't think PAGE=/ will work here.
What would be the right to define

	PAGE=pagea,pageb,pagec
Exactly like that. Or you can use "PAGE=%page(a|b|c)" if you prefer to
do it the perl regex way.


Henrik