In <Pine.LNX.4.64.0911180847220.19497 at pal31.desy.de> Martin Flemming <martin.flemming at desy.de> writes:
Which is the difference beween the directory and includes statement ?
"include" forces you to explicitly list the files that are included. "directory" will automatically include all files in the directory.
Unfortunatly ( the directory statement) it didn't work right now together with the --cifd option of hobbitd_alert module ...
"cfid:N" where N is the linenumber in the hobbit-alerts.cfg "
The cfid-linenumber dosen't match with linenumber if i make an dump of the hobbit-alerts.cfg with
/usr/lib/hobbit/server/bin/bbcmd /usr/lib/hobbit/server/bin/hobbitd_alert --dump-config
"--dump-config" dumps the parsed output of the config files, but the line-numbers are from the un-parsed file (e.g. the line number also includes comment-lines which --dump-config ignores). So you should match the line number against the output from bbcmd bbhostshow ~xymon/server/etc/hobbit-alerts.cfg
I should probably consider adding the line-number to the --dump-config output.
Regards, Henrik