Hi all,

I have a question concerning the definition of sources in nfsen.
Following the installation guide I changed accordingly the nfsen.conf
before installing:

%sources = (
    'phoenix'    => { 'port'    => '9995', 'col' => '#0000ff' },
#    'peer1'        => { 'port'    => '9996', 'col' => '#ff0000' },
);

After installing the 'live' profile was created with one single source,
'phoenix', which is the only variable in the rrd files. I created a few
incoming/outgoing traffic and port specific filters to see how nfsen
works and I noticed that what actually happens is that the nfcapd data
files are filtered and the processed output is stored in the rrd files,
thus always having one single variable in them, 'phoenix'. The thing is
that what I'm trying to do is store multiple variables inside the rrd
files, having for example Upstream/Downstram information as it is shown
on the screenshot graphs, but the only way i found around that is to
define multiple sources at different ports. But doesn't that mean that I
have to apply some kind of separate filtering before capturing the data
with nfsen/nfcapd.

e.g.

flow_collector | upstream_filter | flow_repeater_script 9996
flow_collector | downstream_filter | flow_repeater_script 9997

nfsen.conf:

%sources = (
    'phoenix'    => { 'port'    => '9995', 'col' => '#0000ff' },
    'upstream'    => { 'port'    => '9996', 'col' => '#00ff00' },
    'downstream'    => { 'port'    => '9997', 'col' => '#ff0000' },
);

Is that so, or can I make my life a bit easier?


Thanks,
Spyros Ligouras

-------------------------------------------------------------------------
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

Reply via email to