use File::Basename ('dirname');
our $InDir = '/var/lib/collectd';
-our $OutDir = '/tmp/collectd-5';
our $RRDtool = 'rrdtool';
our %TypesCounterToDerive = # {{{
--indir <dir> Source directory
Default: $InDir
- --outdir <dir> Destination directory
- Default: $OutDir
--rrdtool <path> Path to the RRDtool binary
Default: $RRDtool
} # }}} sub exit_usage
GetOptions ("indir|i=s" => \$InDir,
- "outdir|o=s" => \$OutDir,
"rrdtool=s" => \$RRDtool,
"help|h" => \&exit_usage) or exit_usage ();