don't think ipcop has a mail program, or a mta, or any sort of mail
spool - not many firewalls do!

actually there is a "mail" command, but I cannot get it to do much.

maybe some remote logging? or putting the total for the month in a known
place on the ipcop box and have another machine check it from time to
time?

On
Sun, 20 Jul 2003 22:02:46+1200 Chris Bayley <[EMAIL PROTECTED]>
wrote:

> Yeah looks like ipacsum will should do the trick:
> ... script something in cron to mail me if total > 291GB ; |
> routine summary etc..
> 
> so: to get IPCops crontab MAILTO=root to go to my mailserver:
> should IPCop route the mail directly to the mailserver ?
> or should the mail server's existing fetchmail poll ipcops mail spool 
> for root ?
> 
> : )
> 
> /Chris
> 
> Nick Rout wrote:
> 
> >I think what he is after is ipacsum
> >
> >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]
> >
> >
> >  
> >
> 
> 


Reply via email to