From: RYAN M. vAN GINNEKEN <[email protected]> >I have mostly successfully gotten accounting working using this doc >http://shorewall.net/Accounting.html >By mostly i mean i get output when i run shorewall show web and even more when >i run shorewall show >However counters seem to get reset each time i restart shorewall
Not sure how you do the accounting calculation part but I have a cron script that parses the shorewall accounting values, reads the old values from a file (saved on a previous run) and does (new_value-old_value)/(new_timestamp-old_timestamp). If I detect that new_value < old_value (due to a reset or a cycling), I just pick the previous diff value. Then, I graph my diffed values with rdd. rdd is supposed to handle counters resets but I could not make it work... JD ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
