Run two instances of ipaudit, one for each interface, and write the output to two separate files. THEN, use 'total' to combine them. For example, something like
ipaudit -ofile1.data
ipaudit -ofile2.data
cat file1.data file2.data | total 1,2,3,4,5 6,7,8,9 - > both.data
Then use the file both.data to do your statistics. Note that if you use ipaudit's -t option to save the times in file1.data and file2.data, you will not be able to use 'total' to combine the time fields. Maybe in the next version of 'total'.
Told you it was ugly.
/bin/date: invalid date `mer sep 27 16:59:56 CEST 2000'
$IP_DIR/ipaudit died prematurely
(Oct 3, 2000)
Here's how to work around it, in the file cron/cron30min change the line
CURDATE_DEF=`$GNUDATE`
to
CURDATE_DEF=`$GNUDATE "+%Y-%m-%d %H:%M"`
gnuplot> set term gif small size 600,150 xffffff x000000 xdddddd x880000 x008800 x000088 x666666
^
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
(Oct 5, 2000)
In the four files ~/reports/30min/graphic/Graph* change the line
set term gif small size 600,150 xffffff x000000 xdddddd x880000 x008800 x000088 x666666
to
set term png small color
AND, in the file
~/public_html/index.html
change the four lines such as
<img src=images/ReportTraffic.gif>
to
<img src=images/ReportTraffic.png>
TIMG=$IP_DIR/public_html/images/ReportTraffic.gif to TIMG=$IP_DIR/public_html/images/ReportTraffic.pngThanks to Andy Z for the solution.
cd ~ipaudit/reports/30min/graphic ./runcron /home/ipaudit `date +%Y-%m-%d-%H:%M`or if you prefer you can replace the `date...` portion of the second command with a hard coded date/time string such as
./runcron /home/ipaudit 2000-11-21-14:22