Xymon Mailing List Archive search

directory vs. includes statement

list Martin Flemming
Wed, 18 Nov 2009 13:42:23 +0100 (CET)
Message-Id: <user-30cd7cbeb13d@xymon.invalid>

On Wed, 18 Nov 2009, Henrik Størner wrote:
/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
Yep, works like a charme ;-)
I should probably consider adding the line-number to the --dump-config
output.
great idea !

thanks a lot Henrik  !

         Martin