Hi Jason,
>From experience, a shadow profile will not create/copy any actual data
files, but rather rely on the files upon which the profile is generated
(i.e. 'live'.) If you're somehow copying/cloning an existing profile, you
need also make sure that your 'profiles-data' directory structure is in
sync with what's defined in 'profiles-stat', else your graphs will be
blank. Same as with any tinkering in the 'profile.dat' -- If directories do
not match channel data, no graphs (ask me how I know... ;) )
My initial thought, though, is that file permissions might be at play. Your
flows/packets/traffic graphs (in 'profiles-stat') should be generated every
cycle, along with update to any RRD files. If they aren't, make sure the
nfsen daemon is running and that file permissions are set appropriately.
If you want to check that 'nfprofile' knows where to find all its
libraries, use 'ldd': Any 'not found' messages mean you need to set
'LD_LIBRARY_PATH' or maybe run 'ldconfig'.
Ex:
ldd /opt/netflow/bin/nfprofile
linux-vdso.so.1 => (0x00007fff783fe000)
librrd.so.4 => /usr/lib64/librrd.so.4 (0x00007fbbc28e1000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbbc26c7000)
~
Obviously, you'd use whatever path to 'nfprofile' is relevant to your
installation.
Cheers!
>I have created several continuous shadow profiles and none seem to
>generate any data in the 'profiles-data' folder and the graphs are all
>blank. Seems broken with both 1:1 and individual channels. Live profile
>and all its graphs work. I've tried with trivial channel filters like
>'proto tcp' and 'port 80' (all tested via Netflow Processing on the
>Details page) to ensure it's not a filter problem and that data exists.
>I found that 'nfprofile' initially wasn't able to find the rrd
>libraries, but (I'm almost certain) that has been fixed. I've created
>new profiles since fixing that to ensure it wasn't dependent on working
>at the time of creation.
>I'm not sure how to troubleshoot this further as I can't find any logs
>with any issues reported. Any suggestions on where to start?
>--jason
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss