[hobbit] directory vs. includes statement

Martin Flemming martin.flemming at desy.de
Wed Nov 18 13:42:23 CET 2009


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


More information about the Xymon mailing list