Xymon Mailing List Archive search

alerts includes

list Galen Johnson
Thu, 19 Nov 2015 22:55:23 +0000
Message-Id: <user-fc18e7154b76@xymon.invalid>

Yep.  It shows up.  It's really bizarre as I couldn't find anything that might trigger it but it stopped alerting to the wrong group as soon as I added a config file for that host group.

=G=

From: J.C. Cleaver <user-87556346d4af@xymon.invalid>
Sent: Thursday, November 19, 2015 3:46 PM
To: Galen Johnson
Cc: xymon at xymon.com
Subject: Re: [Xymon] alerts includes

On Thu, November 19, 2015 11:50 am, Galen Johnson wrote:
Hey,


I seem to be having a weird issue I'm hoping someone else can confirm.
I'm us?ing "directory" to manage my alerts configs.


For example

directory /opt/xymon/server/etc/alerts.d

HOST=*
     MAIL user-3c7f3dc6228c@xymon.invalid DURATION>10 REPEAT=30 RECOVERED

However, it doesn't seem to actually get to the HOST entry.  It uses the
last file listed in the alerts.d folder as the catchall.  I would never
have noticed this had I not been having a test of some new servers using a
script intended for another group.  Can anyone else confirm this behavior?
 I'm currently using 4.3.21.

Is the line visible from xymond_alert --dump-config as such? After a
directory entry, it should simply continue on parsing from there in the
original file.


-jc