enhancement request: nested entries in alerts.cfg and analysis.cfg
list Phil Crooker
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?
list Mark Felder
▸
On Sun, Jun 14, 2015, at 21:39, Phil Crooker wrote:
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?
This would have been very useful at my previous job. I'm surprised for as big of an install JC runs that he doesn't need it. Perhaps he automates management of these files with an external tool they've developed :-)