> I would like to record the squid access log into a rrd > database so that I can know how much traffic was happening at > any given time. The problem with this is that the log entries happen > *after* the traffic has completed -- ie. the log may indicate > that for the last 55 minutes we were doing a long download, > comprising 120Mb, which has nothing to do with the last 5 > minutes. I would like this to be added to my RRD data, after > the fact.
hmm, that would mean you can never really trust your rrd graphs. There may always be a download still happening that you are not seeing. But the simple answer is no. Rrdtool does not like old data. You can dump the rrd file to text, add the data in a script and restore the file. You can also keep the data in a (sql) database and generate the rrd database at the moment you need a graph. And there are probably other tricks if you let your imagination get wild. But inputting data and changing it later on with "rrdtool update" is not possible. Serge. ------------- Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php ------------- For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
