Thanks for the comments.

For the colors, I just find it a pain to change around the colors after 
setting up the sources.  I mention this because we currently have 50 
different sources, and having to go to each one to change the colors 
around after the initial setup took me a while, where as if I did the 
colors from the config file initially it would have saved me a lot of 
time, hence why I said to do it at the file level.  I also noticed that 
these colors aren't saved when you go to make a new profile, and it 
falls back on the ones specified in the file, so when putting multiple 
sources into a new profile, you need to edit the colors again.

Adam Osterlund
Network Engineer
Wi-Fi Guys, LLC.
Office: 218-353-7798 x 107


On 7/20/2010 11:55 AM, Peter Haag wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Adam,
>
> Just a few remarks:
>
> snipp ..
>    
>> === Step 6.3 ===
>> Still in the nfsen.conf we add in our sources of netflows so it knows
>> what ports to listen on.  Keep in mind there is a 19 character limit on
>> what you can specify for source names.  Each new source needs it's own
>> unique port number to listen on.
>>      
> As of nfdump 1.6.x and nfsen-1.3.4, this is no longer required. If you 
> configure
> more sources for the same port, nfcapd automagically separates them correctly.
> However, for heavily loaded systems, it's still recommended to use different 
> ports.
>
>    
>>   # Netflow sources
>>   # Define an ident string, port and colour per netflow source
>>   #
>>   # Required parameters:
>>   #    ident   identifies this netflow source. e.g. the router name,
>>   #            Upstream provider name etc.
>>   #    port    nfcapd listens on this port for netflow data for this source
>>   #                        set port to '0' if you do not want a collector
>> to be started
>>   #    col     colour in nfsen graphs for this source
>>   #
>>   # Optional parameters
>>   #    type    Collector type needed for this source. Can be 'netflow' or
>> 'sflow'. Default is netflow
>>   #        optarg  Optional args to the collector at startup
>>   #
>>   # Syntax:
>>   #         'ident' =>  { 'port' =>  '<portnum>', 'col' =>  '<colour>',
>> 'type' =>  '<type>' }
>>   # Ident strings must be 1 to 19 characters long only, containing
>> characters [a-zA-Z0-9_].
>>
>>   %sources = (
>>      'upstream1'    =>  { 'port' =>  '9995', 'col' =>  '#0000ff', 'type' =>
>> 'netflow' },
>>      'peer1'        =>  { 'port' =>  '9996', 'IP' =>  '172.16.17.18' },
>>      'peer2'        =>  { 'port' =>  '9996', 'IP' =>  '172.16.17.19' },
>> );
>>
>> You can change the colors later on within nfsen but those changes won't
>> be reflected in this file.  And whenever you use that source for a
>> different profile it will revert back to it's color in this file.  So
>> makes things a bit easier on yourself and choose the colors as you enter
>> them in.  It is a massive pain to change them from the web UI.
>>      
> ?? What is a massive pain ?? Click on the edit button of the source you want 
> to change
> and choose either from predefined colour palettes of use the colour picker. 
> It's as simple as that!
>
>
>
> Thanks and regards
>
>       - Peter
>
>    
>> Adam Osterlund
>> Network Engineer
>> Wi-Fi Guys, LLC.
>> Office: 218-353-7798 x 107
>>
>>
>> On 7/19/2010 12:03 PM, Adam Osterlund wrote:
>>      
>>> I believe I worked out what was causing my issues.
>>>
>>> The the folder that nfsen was installed in belonged to root.  So I
>>> changed the user and the group of the folder over to www-data
>>> (Ubuntu's apache user) and it began to work fine for me.  I modified
>>> the nfsen configuration to run under the www-data user as well.
>>>
>>> If interested I can post my step by step guide I worked up for Ubunutu
>>> to get it running.
>>> Adam Osterlund
>>> Network Engineer
>>> Wi-Fi Guys, LLC.
>>> Office: 218-353-7798 x 107
>>>
>>> On 7/19/2010 11:17 AM, Benjamin . wrote:
>>>        
>>>> Hello,
>>>>
>>>> I have the problem you mentionned in the first part of your email. My
>>>> live pipe is populated
>>>> and displays data, but my profiles, whatever theirs configuration are
>>>> (shadowed etc...), are not populated.
>>>>
>>>>
>>>>
>>>> I'm currently running Ubuntu 9.10 as well and NfSen 1.3.4. NfProfile
>>>> and NfDump seems to be working fine.
>>>>
>>>> Any help would be much appreciated.
>>>>
>>>> Benjamin,
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first --http://p.sf.net/sfu/sprint-com-first
>>>>
>>>>
>>>> _______________________________________________
>>>> Nfsen-discuss mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>>>>
>>>>          
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>
>>
>>
>> _______________________________________________
>> Nfsen-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>>      
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iQCVAwUBTEXU8v5AbZRALNr/AQLU2QQAiamxKVlJlcoLvlxphxYzC9O0TDPHMPRT
> GRNmE3+IFg5OMhtqPfEsrqZQ4Abi1Dd3KxP1xFsx81Qy/cAFfy9dwJ6meEUlO2MR
> Zc4jS8zrSuXDXhh2SGt3ZOaMsk0b6OXWSO/GPDkdLjokRdfy5WGlhB0KVxoIftR8
> A+hCWCqtlGE=
> =ZBs6
> -----END PGP SIGNATURE-----
>    

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to