Hello!
I have a fresh install from scratch, with nfdump 1.7.1 and nfsen 1.3.8, but
when nfsen starts, nfcapd gives an error.
*Syslog report*:
Feb 15 09:59:41 nfsen[50860]: Starting nfcapd:(ccr1036cs ccr1036np)path
does not exist: -D Feb 15 09:59:41 nfsen[50860]: No valid directory: -D Feb
15 09:59:46 nfsen[50860]: : collector did not start - see logfile
*CLI*
./nfsen start Starting nfcapd:(ccr1036cs ccr1036np)path does not exist: -D
No valid directory: -D : collector did not start - see logfile Starting
nfsend.
*Config File*:
$BASEDIR = "/opt/nfsen";
$BINDIR="${BASEDIR}/bin";
$LIBEXECDIR="${BASEDIR}/libexec";
$CONFDIR="${BASEDIR}/etc";
$HTMLDIR = "/opt/nfsen/www/";
$DOCDIR="${HTMLDIR}/doc";
$VARDIR="${BASEDIR}/var";
$PROFILESTATDIR="${BASEDIR}/profiles-stat";
$PROFILEDATADIR="${BASEDIR}/profiles-data";
$BACKEND_PLUGINDIR="${BASEDIR}/plugins";
$FRONTEND_PLUGINDIR="${HTMLDIR}/plugins";
$PREFIX = '/opt/nfdump/bin';
$USER = "netflow";
$WWWUSER = "www-data";
$WWWGROUP = "www-data";
$BUFFLEN = 200000;
$SUBDIRLAYOUT = 1;
$ZIPcollected = 1;
$ZIPprofiles = 1;
$PROFILERS = 2;
$DISKLIMIT = 98;
$PROFILERS = 6;
%sources = (
'ccr1036cs' => { 'port' => '9995', 'IP' => '172.16.0.14',
'col' => '#0000ff', 'type' => 'netflow' },
'ccr1036np' => { 'port' => '9995', 'IP' => '172.16.0.10',
'col' => '#0000ff', 'type' => 'netflow' },
);
$low_water = 90;
$syslog_facility ='local3';
@plugins = (
# profile # module
# [ '*', 'demoplugin' ],
[ 'live', 'PortTracker'],
);
%PluginConf = (
# For plugin demoplugin
demoplugin => {
# scalar
param2 => 42,
# hash
param1 => { 'key' => 'value' },
},
# for plugin otherplugin
otherplugin => [
# array
'mary had a little lamb'
],
);
$MAIL_FROM = '[email protected]';
$SMTP_SERVER = 'localhost';
$MAIL_BODY = q{
Alert '@alert@' triggered at timeslot @timeslot@
};
1;
Thanks!
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss