Hi There is a slight error with the scripts that are linked from the documentation on the shorewall site that enables shorewall and mrtg to work together nicely. I have fixed them but I cannot contact the owner of the scripts. The original scripts are available here: http://www.nightbrawler.com/code/shorewall-stats/ My fix is here: http://www.rjb.za.net/source-code The only error is that accounting rules that show traffic under 1KB/s like NTP are considered as KB units and multiplied by 1024 by the script which then shows the incorrect information in the graphs. Regards Ray -- Ray Booysen rj_booysen@rjb.za.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
All I can say is, thanks a lot :-) I''ve been trying to get Shorewall to work with MRTG easily for ages, and have been unable to find this handy little script. It''s also handy to have it bug-free... good job. Jan On 01/12/05, Ray Booysen <rj_booysen@rjb.za.net> wrote:> > Hi > > There is a slight error with the scripts that are linked from the > documentation on the shorewall site that enables shorewall and mrtg to > work together nicely. I have fixed them but I cannot contact the owner > of the scripts. > > The original scripts are available here: > http://www.nightbrawler.com/code/shorewall-stats/ > > My fix is here: > http://www.rjb.za.net/source-code > > The only error is that accounting rules that show traffic under 1KB/s > like NTP are considered as KB units and multiplied by 1024 by the script > which then shows the incorrect information in the graphs. > > Regards > Ray > > -- > Ray Booysen > rj_booysen@rjb.za.net > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >
Not a problem! :) Jan Mulders wrote:> All I can say is, thanks a lot :-) > > I''ve been trying to get Shorewall to work with MRTG easily for ages, > and have been unable to find this handy little script. It''s also handy > to have it bug-free... good job. > > Jan > > On 01/12/05, *Ray Booysen* <rj_booysen@rjb.za.net > <mailto:rj_booysen@rjb.za.net>> wrote: > > Hi > > There is a slight error with the scripts that are linked from the > documentation on the shorewall site that enables shorewall and mrtg to > work together nicely. I have fixed them but I cannot contact the > owner > of the scripts. > > The original scripts are available here: > http://www.nightbrawler.com/code/shorewall-stats/ > > My fix is here: > http://www.rjb.za.net/source-code > > The only error is that accounting rules that show traffic under 1KB/s > like NTP are considered as KB units and multiplied by 1024 by the > script > which then shows the incorrect information in the graphs. > > Regards > Ray > > -- > Ray Booysen > rj_booysen@rjb.za.net <mailto:rj_booysen@rjb.za.net> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > <http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click> > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > <mailto:Shorewall-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/shorewall-users > >-- Ray Booysen rj_booysen@rjb.za.net ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click