[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: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Wed, 18 Nov 2009 12:08:28 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- 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>
- User-agent: nn/6.7.3
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