i want to run multiple instances of logcheck on a syslog host, each configured
slightly differently (configuration for each instance lives in
/etc/${LC_INST}/, and the stats live in /var/lib(${LC_INST}).
i can do this with something like:
/usr/sbin/logcheck \
-c /etc/${LC_INST}/logcheck.conf \
-L /etc/${LC_INST}/logcheck.logfiles \
-S /var/lib/${LC_INST}
however, i fail to see why i cannot provide the stats-dir (as given with the
'-S' flag) and the logfiles-file ('-L') in the instance-specific config-file
('-c'), esp. since i *can* set the RULEDIR ('-r').
actually, I think one should be able to use set all cmdline flags in the
configfile (maybe with the exception of the '-c' flag).
most likely all this is already possible (looking at the source-code of
/usr/sbin/logcheck I see that it simply sources CONFIGFILE) but that's nowhere
documented.
fgmasdr
IOhannes