Hello everybody.
I've ran into problems while trying to add a new source to my nfsen
installation. This is how my %sources looked like before and after
adding a new source:
BEFORE:
%sources = (
'7304bcnt2' => { 'port' => '9901', 'col' => '#0000ff', 'type'
=> 'netflow' },
'7304bb2' => { 'port' => '9900', 'col' => '#ff0000',
'type' => 'netflow' },
);
AFTER:
%sources = (
'7304bcnt2' => { 'port' => '9901', 'col' => '#0000ff', 'type'
=> 'netflow' },
'7304bb2' => { 'port' => '9900', 'col' => '#ff0000',
'type' => 'netflow' },
'12410bcnt2' => { 'port' => '9903', 'col' => '#00ff00', 'type' =>
'netflow'},
);
The first two sources were working ok and were added when I installed
nfsen.
I did a nfsen reconfig and I got these errors:
[EMAIL PROTECTED] bin]# ./nfsen reconfig
New sources to configure : 12410bcnt2
Continue? [y/n] y
Add source(s): 12410bcnt2:
Add source '12410bcnt2'Argument "12410bcnt2" isn't numeric in
subtraction (-) at /data/nfsen/libexec/NfProfile.pm line 1042.
Unable to create DB file: No such file or directory
Use of uninitialized value in unlink at /data/nfsen/libexec/NfProfile.pm
line 1045.
Error while setting up channel '12410bcnt2': Creating RRD failed for
channel '12410bcnt2': ERROR while creating RRD DB 12410bcnt2.rrd: start
time: did you really mean month 12110?
No collector started!
No pid file found for nfsend - please restart manually
I tried to delete it and add it again, but nomatter what I did, I got
the same error.
[EMAIL PROTECTED] bin]# ./nfsen reconfig
Remove configured sources: 12410bcnt2
Continue? [y/n] y
Delete source(s): 12410bcnt2:
Delete source '12410bcnt2'
No pid file found for nfsend - please restart manually
I didn't get any other messages in syslog.
The only way I managed to install this source was to delete my whole
installation and reinstall it with the updated nfsen.conf file.
Any idea why this happened?
Thank you kindly for your help.
--
Adrian Popa
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss