enhancement request: nested entries in alerts.cfg and analysis.cfg
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 helpdesk at whatever.com
HOST host4.whatever.com MAIL devel at whatever.com SERVICE=http
HOST !%host[25].whatever.com MAIL someone at whatever.com
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?
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 helpdesk at whatever.com HOST host4.whatever.com MAIL devel at whatever.com SERVICE=http HOST !%host[25].whatever.com MAIL someone at whatever.comAs 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 :-)
participants (2)
-
feld@feld.me
-
Phil.Crooker@orix.com.au