If you are talking about the "Global TCP/UDP Protocol Distribution",
"Historical View" on the trafficStats.html page it is built by scanning
(look in plugins/rrdPlugin.c for graphSummary(), case 4) based on the .rrd
files ntop finds in the interface directory which are not Flows and have IP_
in their names, then yes...

Deleting the .rrd file (obviously) removes any information.  ntop will
simply recreate the file if it finds data, but there won't be any history in
the rings.  And if it doesn't find the file, it won't show up in the graph.

Since those IP_xxxx files are based on the protocols you are monitoring,
this can be a good thing to do if you drastically change the protocols you
are monitoring.

E.g.:

01:03:31 tigger [Linux] user=ntop pwd=/devel/ntop/rrd/interfaces/eth2 $ ls
-lt | grep -v Flow | grep IP_
-rw-r--r--    1 ntop users  62940 Sep  2 01:02 IP_SNMPBytes.rrd
-rw-r--r--    1 ntop users  62940 Sep  2 01:02 IP_SSHBytes.rrd
-rw-r--r--    1 ntop users  62940 Sep  2 01:02 IP_DNSBytes.rrd
...
-rw-r--r--    1 ntop users  62940 Aug 17 11:01 IP_NFS_AFSBytes.rrd
-rw-r--r--    1 root root   35292 Aug 17 11:01 IP_VoIPBytes.rrd
-rw-r--r--    1 root root   35292 May 25 12:03 IP_TelnetBytes.rrd

The ones that haven't been updated in MONTHS are good candidates to nuke,
just to cleanup the graph.

-----Burton


PS: Just for reference, this kind of question is fine to ask on ntop (user
list).  Answers in ntop-dev tends to get more codish...



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kurt Swank
Sent: Thursday, September 01, 2005 8:44 PM
To: [email protected]
Subject: [Ntop-dev] RRD/Historical information

How can I clear out the data in the RRD database that is used for the
historical graphs?
It looks like the legends in the historical graphs are coming from the
ntop.conf file that was used when I initially started ntop I have since
removed many of these protocols, but historical graph still show these old
protocols.
If I clear the RRD database can I also get rid of these old labels?

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to