Re: [Nfsen-discuss] data-less sources breaking graphs (& thanks :)
Netflow visualisation and investigation tool
Brought to you by:
phaag
|
From: Ivan A. B. <iv...@li...> - 2006-05-11 21:23:09
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/05/2006 14:52, Ivan A. Beveridge wrote:
> On 10/05/2006 08:40, Peter Haag wrote:
>>> -------- Original Message --------
>>> From: "Ivan A. Beveridge" <iv...@li...>
>>> Date: Tue May 09 2006 14:41:27 GMT+0200 (CEST)
>
>>>>> One point I just tested/checked was what happens if I configure a new
>>>>> source that isn't yet sending flow samples. This caused the graphs to
>>>>> stop updating (and broke those on the details page) in previous versions
>>>>> of nfsen .. and is still the case.
>
>>>>> nfdump-snapshot-20060413
>>>>> nfsen-snapshot-20060412
>
>>> ok - I put that on the bug list. I will have a look into that.
>
> Just to add to this. Last night I re-enabled this source (uncommented in
> nfsen.conf & did a reconfig) after flows started to be sent to the
> collector. The "structure" (directories/rrds) were still there from when
> I added it before (and it hung the updating of the graphs etc), and the
> reconfig noticed & mentioned it.
>
> After ~10 hours, nothing shows up on the graphs for that new source
> (just showing that source in the details page, to get over any scaling
> issues), but the statistics table on the same page is showing up
> suitable counters (eg 68Kpps, 210Mbps) for the source. The relevant
> PROFILEDATA directory has data in it (I confirmed it is expected data,
> using nfdump), so it looks like there is some issue with the RRD files
> getting updated.
Doh - it was an owner/permissions problem again. The RRD files were
owner root:root instead of ${WWWUSER}:${WWWGROUP} or perhaps better
${USER}:${WWWGROUP}. Permissions were 644 (others are 664). I have a
feeling that the correct permissions/owner should be:
${USER}:${WWWGROUP} 644
Anyway, RRDs are updating and graphs are working now. Looks like another
little tweak to the nfsen script.
Cheers
Ivan
- --
Ivan Beveridge
<iv...@li...> http://www.linx.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEY6sSQQZN5jq7vncRAuLhAJ9VPFNsgDZkE8y7oCkUfUgJHN8i5ACfRlWO
xRtFlrpeiFvUEmouu3pBTFo=
=yxiq
-----END PGP SIGNATURE-----
|