2. "include" still supported in 4.3.13 alerts.cfg ?
I couldn't get "include" to include other files that contain alert
configuration for different host.
2014-01-10 17:20:09 WARNING: Cannot open include file
'hobbit-alerts.cfg.devtet', line was:include hobbit-alerts.cfg.il93.devtet
2014-01-10 17:20:09 Ignored unknown/unexpected token 'include' at line 119
2014-01-10 17:20:09 Ignored unknown/unexpected token
'hobbit-alerts.cfg.devtet' at line 119
I purposely changed hobbitit-alerts.cfg.devtet name to wrong file name to
trigger above error message.
the content of hobbit-alerts.cfg.devtet is simply the xymon server itself
with email address.
if the content of hobbit-alerts.cfg.devtet got imported at the end of
alerts.cfg then I can see alert recipient got display in "info" column.
for other people testing 4.3.13, can you verify "include" in alerts.cfg
works for you or not ?
PS: include works in hosts.cfg.
Thanks
▸ quoted from T.J. Yang
On Fri, Jan 10, 2014 at 12:47 PM, T.J. Yang <user-61afc885aa73@xymon.invalid> wrote:
Hi All
I am testing new xymon-4.3.13 on CentOS 6.5 platform,
so far I have only encountered one tiny bug.
1. tasks.cfg
WHAT: can't open tasks.d directory,
HOW:
1. comment out last line in tasks.cfg
2. or change the makefile to create etc/tasks.d directory
[xymon]$ tail -3 /data/xymon/server/etc/tasks.cfg
# Include add-on modules.
directory /data/xymon/server/etc/tasks.d
[xymon ]$ grep task xymonlaunch.log
2014-01-09 14:12:37 Loading tasklist configuration from
/data/xymon/server/etc/tasks.cfg
2014-01-09 14:12:37 Cannot open directory /data/xymon/server/etc/tasks.d
2014-01-09 16:09:44 Loading tasklist configuration from
/data/xymon/server/etc/tasks.cfg
2014-01-09 16:09:44 Cannot open directory /data/xymon/server/etc/tasks.d
2014-01-09 16:10:16 Loading tasklist configuration from
/data/xymon/server/etc/tasks.cfg
2014-01-09 16:10:16 Cannot open directory /data/xymon/server/etc/tasks.d
[xymon]$
Thanks
tj
--
T.J. Yang
--
T.J. Yang