Hi,
After following the instruccionts, I see no tab in the device which NFSen is configured to pull data from.
This is my nfsen config.php
#
# NFSen
#
$config['nfsen_enable'] = 1;
$config['nfsen_split_char'] = '_';
$config['nfsen_rrds'][] = '/var/local/nfsen/profiles-stat/live';
$config['nfsen_suffix'] = "_domain_com";
Then the directory look like:
[root@netnms01 mysql]# ll /var/local/nfsen/profiles-stat/live
total 20292
lrwxrwxrwx. 1 netflow netflow 9 mar 7 17:01 172.20.201.104.rrd -> peer3.rrd
-rw-rw-r--. 1 netflow nginx 5193448 mar 7 17:45 peer1.rrd
-rw-rw-r--. 1 netflow nginx 5193448 mar 7 17:45 peer2.rrd
-rwxrwxrwx. 1 netflow nginx 5193448 mar 7 17:45 peer3.rrd
-rw-rw-r--. 1 netflow nginx 328 mar 7 17:45 profile.dat
-rw-rw-r--. 1 netflow nginx 5193448 mar 7 17:45 upstream1.rrd
And the nfsen configuration file:
$BASEDIR = "/var/local/nfsen";
$BINDIR="${BASEDIR}/bin";
$LIBEXECDIR="${BASEDIR}/libexec";
$CONFDIR="${BASEDIR}/etc";
$HTMLDIR = "/var/www/nfsen/";
$DOCDIR="${HTMLDIR}/doc";
$VARDIR="${BASEDIR}/var";
$PROFILESTATDIR="${BASEDIR}/profiles-stat";
$PROFILEDATADIR="${BASEDIR}/profiles-data";
$BACKEND_PLUGINDIR="${BASEDIR}/plugins";
$FRONTEND_PLUGINDIR="${HTMLDIR}/plugins";
$PREFIX = '/usr/bin';
$USER = "netflow";
$WWWUSER = "nginx";
$WWWGROUP = "nginx";
$BUFFLEN = 200000;
$SUBDIRLAYOUT = 1;
$ZIPcollected = 1;
$ZIPprofiles = 1;
$PROFILERS = 2;
$DISKLIMIT = 80;
$PROFILERS = 6;
%sources = (
'peer1' => { 'port' => '9996', 'IP' => '172.16.17.18' },
'peer2' => { 'port' => '9996', 'IP' => '172.16.17.19' },
'peer3' => { 'port' => '9996', 'IP' => '172.20.201.104' },
);
$low_water = 90;
$syslog_facility = 'local3';
@plugins = (
);
%PluginConf = (
demoplugin => {
param2 => 42,
param1 => { 'key' => 'value' },
},
otherplugin => [
'mary had a little lamb'
],
);
$MAIL_FROM = '[email protected]';
$SMTP_SERVER = 'localhost';
$MAIL_BODY = q{
Alert '@alert@' triggered at timeslot @timeslot@
};
1;
Do you have any idea what could be going on? I have created the sym link since the device looks like this in LibreNMS: