Xymon Mailing List Archive search

enhancement request: nested entries in alerts.cfg and analysis.cfg

list Phil Crooker
Mon, 15 Jun 2015 02:39:46 +0000
Message-Id: <user-756177224f1a@xymon.invalid>

I'm sure many people have regexes with expressions like host[0-9].whatever.com to cover multiple hosts in alert HOST groups. It would be useful to be able to have a HOST statement within a group, eg:


$LINUX=host[0-9].whatever.com


HOST=%$LINUX COLOR=RED

        MAIL user-5402f460c2cd@xymon.invalid

        HOST host4.whatever.com MAIL user-4535cadbc002@xymon.invalid SERVICE=http

        HOST !%host[25].whatever.com MAIL user-b08842d0d252@xymon.invalid


As it is, I now have to rename 'host4', etc, in xymon and create separate HOST statements.


Although I don't have as great a need for this capability in analysis.cfg, it makes sense to have it there as well.


Is this something others want?