[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] directory vs. includes statement
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] directory vs. includes statement
- From: Martin Flemming <martin.flemming (at) desy.de>
- Date: Wed, 18 Nov 2009 13:42:23 +0100 (CET)
- References: <200911131623.44927.bgmilne (at) staff.telkomsa.net> <Pine.LNX.4.64.0911131334260.23101 (at) pal31.desy.de> <200911131623.44927.bgmilne (at) staff.telkomsa.net> <Pine.LNX.4.64.0911180847220.19497 (at) pal31.desy.de> <he0o3s$hte$2 (at) voodoo.hswn.dk>
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