Xymon Mailing List Archive search

xymon hobbitd_alert --test errors query

list Jeremy Laidman
Fri, 13 Feb 2015 13:01:01 +1100
Message-Id: <CAAnki7AOpSf7XDU-PJisRRzXwAcQn5iVSnQO77urmd=user-8475c25268f3@xymon.invalid>

On 6 February 2015 at 21:09, Ian Diddams <user-7fbf34ed5219@xymon.invalid> wrote:
# catch all disk
HOST=* SERVICE=disk TIME=w:1830:2359,$CFG_WHEN:0800:2359 COLOR=red
MAIL <email address redacted> DURATION>60 REPEAT=15
MAIL <pager email redacted> DURATION>60 REPEAT=15 FORMAT=SMS
The log suggests that the parser is treating the "MAIL" recipient lines as
if they were "HOST" rule lines.  Although I can't find documentation to
support me, I think the recipient lines need to be indented, and certainly
the examples in the alerts.cfg file I have here, all have the recipient
lines indented.  It couldn't hurt to try.

Cheers
Jeremy