Xymon Mailing List Archive search

hobbit-alerts.cfg - Can HOST be within PAGE?

list Ed Stuart
Tue, 1 Nov 2011 15:43:38 -0500
Message-Id: <user-8a647efc5245@xymon.invalid>

In the hobbit-alerts.cfg file can a HOST line be withing a PAGE line to
select particular hosts based on what page they are on?  For example, if
we want to mail alerts for all the servers on the SERVERS page that
begin with the letters d or t and only the ones that are on the SERVERS
page would the following entries work?

PAGE=SERVERS
        HOST=%[dt].*\.ourdomain\.com
        MAIL $ADMINS SERVICE=disk,cpu,memory,procs DURATION>1h COLOR=red
RECOVERED REPEAT=8h FORMAT=PLAIN TIME=W:700:1900

**Please apply a generous amount of all the usual disclaimers here.**