On Sun, 20 Jul 2003 18:56, Nick Rout wrote: > I think what he is after is ipacsum Yes, but as it stands it won't give him what he wants, which is - as I understand him - a record of his total traffic so far this charge period. Unfortunatly the 1.2 IPCop won't do that _as it currently stands_. Correctme please, if the IPCop 1.3 has been enhanced to incorporate those changes. He could get partway there by changing the file /usr/local/bin/makegraphs Adding the option --png-total to the options in the second line of the file then display the total traffic on that particular nic for the period plotted.
> as in > > ipacsum -t today > ipacsum -t yesterday > ipacsum -t "this week" > ipacsum --starttime n --endtime m > > for graph making options > > ipacsum --help --gif > > for examples look in /etc/crontab > > On Sat, 19 Jul 2003 12:47:14 +1200 > > Christopher Sawtell <[EMAIL PROTECTED]> wrote: > > On Sat, 19 Jul 2003 11:34, you wrote: > > > I've just set up an IPCop box - as a result of recent experiances !! > > > I see a traffic graph showing transfer speeds, but where is the total > > > volume graph / log ? > > > > I'm 99.99% sure that there isn't a nice graphical representation. > > The totals are stored in the text files in the /var/log/ip-acct/ > > directory. > > > > > Also I want to make sure I'm logging all tarffic in & out... > > > > You are. > > > > A data record looks like this:- > > [EMAIL PROTECTED]:~ # cat /var/log/ip-acct/20030719-122001 > > Incoming GREEN > > Outgoing GREEN > > Incoming RED > > Outgoing RED > > #-#-#-#-# > > 5478 337550 > > 5609 5150716 > > 4796 4970905 > > 3935 257397 > > > > You can use the ipac tools to consolidate the data in IPCop 1.2 > > http://www.daneben.de/ipac.html > > > > also, for a forked version which is ( to be ) used in IPCops which use > > the 2.4.x kernels:- > > > > http://sourceforge.net/projects/ipac-ng/ > > > > hth > > -- > > Sincerely etc., > > Christopher Sawtell > > -- > Nick Rout > Barrister & Solicitor > Christchurch, NZ > Ph +64 3 3798966 > Fax + 64 3 3798853 > http://www.rout.co.nz > [EMAIL PROTECTED] -- Sincerely etc., Christopher Sawtell
