Thanks for the response. So that is great to hear that it is doable. Does anyone have a way to actually do it? I need a practical example that I can use. Sorry but I have absolutely no Perl hacking skills whatsoever. Has anyone done this?
Thanks in advance! Troy -----Original Message----- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: February 22, 2005 4:15 PM To: Troy Aden Cc: Leaf-User (E-mail) Subject: Re: [leaf-user] Shorewall Accounting Statistics for MRTG Troy Troy Aden wrote: >I am looking over a procedure for graphing specific ports with MRTG using >shorewall accounting to track port usage. The problem is that it seems the >procedure that I found is meant for someone who is running shorewall on a >full blown Linux box not a Bering L.E.A.F box. I am wondering if anyone has >successfully done this on Bering? And if so, if they could point me to a >working procedure or tweak the procedure I found here >(http://www.nightbrawler.com/code/shorewall-stats/) to be workable with >Bering UClibc 2.2.2? I have a box running Debian that is connected to the >Bering box. I have MRTG and Perl installed on the Debian box. The place >where I am stumped is the "shorewall_stats.pl". My impression is that this >file should be residing on the Bering box. The problem is that my mrtg.cfg >file resides on my Debian box. Or can the shorewall_stats.pl file reside on >my Debian box and still pull what it needs from shorewall on my Bering >firewall? I am sure that others would be interested in doing this since it >would be very handy to know what ports are using what percentage of your >bandwidth. > > I's been some time since I did some real perl hacking but basically you could certainly make shorewall_stats.pl fetch its input someway or another from a remote source. Most people are using some sort of ssh daemon on the leaf box, which would happily copy a file to local storage, so it probably takes just a little hack to add this to shorewall_stats.pl cheers Erich ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html