Make the apps nagios.cfg aware
commit3efbe67a4ef873f0a6df6c04d71e2ebfd5c4f521
authorAndreas Ericsson <ae@op5.se>
Mon, 22 Mar 2010 18:22:24 +0000 (22 19:22 +0100)
committerAndreas Ericsson <ae@op5.se>
Mon, 22 Mar 2010 18:22:24 +0000 (22 19:22 +0100)
treea4d3f014c4c033f7aea2eff1b5306938df1898bc
parent950aa55604faef062b3f2112e7f3cf3b94f59b51
Make the apps nagios.cfg aware

This makes import and showlog capable of parsing some variables from
the nagios.cfg file. First out is log_file and log_archive_path,
which we use to short-circuit out of having to give the full paths
of all logfiles on the command-line, as that can get tedious really
quickly.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Makefile
import.c
showlog.c