-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Leonid Satanovsky wrote:
| hi all!
| I've posted the question and didn't get an answer, so a repeat:
Maybe you have a look into
| I'm running nfsen (on FreeBSD), updated it to the last version from the
| one that is ported to the FreeBSD,
| and all seem to work fine. But,
| -------------------------------
| Q:
| I have a wrong data in RRD databases for Shadow/continuous profiles
| for the previous months: the graphs look strange (look at the picture)
| and show wrong "sum" data [ for current month it is always the right one
| ]. What may be wrong with it?
|
That's the nature of RRD! The more back in time you go the less resolution you
have.
You find the RRD layout in the file libexec/NfSenRRD.pm:
~ # RRD DB layout:
~ # 1 x 5min = 5 min samples 30 * 288 ( per day ) = 8640 => 30 days
~ # 6 x 5min = 30 min samples 30 * 48 ( per day ) = 1440 => 30 days
~ # 24 x 5min = 2 hour samples 30 * 12 ( per day ) = 360 => 30 days
~ # 288 x 5min = 1 day samples 700 * 1 ( per day ) = 700 => 700 days
~ # Total data available 790 days
~ my $old_umask = umask 0002;
~ my $rrd_filename = "$path/$db.rrd";
~ RRDs::create ( $rrd_filename, "--start", $start,
~ @DS,
~ "RRA:AVERAGE:0.5:1:8640",
~ "RRA:AVERAGE:0.5:6:1440",
~ "RRA:AVERAGE:0.5:24:360",
~ "RRA:AVERAGE:0.5:288:700",
~ "RRA:MAX:0.5:1:8640",
~ "RRA:MAX:0.5:6:1440",
~ "RRA:MAX:0.5:24:360",
~ "RRA:MAX:0.5:288:700"
~ );
You have full 5 min resolution for 30days. If you wish more, you need to
increase this value. But all changes apply only
to new profiles.
- Peter
|
|
| ------------------------------------------------------------------------
|
|
| ------------------------------------------------------------------------
|
| -------------------------------------------------------------------------
| This SF.net email is sponsored by: Microsoft
| Defy all challenges. Microsoft(R) Visual Studio 2008.
| http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| Nfsen-discuss mailing list
| [email protected]
| https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBSEOL5f5AbZRALNr/AQL36wP+Jdakd4c6fLkOR6kXavtEhaVdEMIwIshD
Lt+KaHIzO/1dHLHf+Mhv85etURC7AjTFr5/NR2pWiG2ZnJWU/iRDJHzYfIN72uAe
typmvJUk4xAsgDz4FNQReWhOID1XPVDGMJfG2iceAR30RvrhF41yFHgBJTy5VRk4
uzkiVspaGrw=
=x64E
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss