CL Network monitor

Erek Dyskant erek at nbtsc.org
Wed Mar 16 20:47:33 EST 2005


Frank and list,
	A (mostly) working example of my mrtg is available at
http://admin5.blumenthals.com/cgi-bin/mrtg.cgi  It isn't pretty, but it
gives the information I need.
	You can download the configuration files and data-gathering
scripts at http://erek.admin5.blumenthals.com/mrtgcfg.tar
	If you just want the main ethernet traffic, copy the "traffic
analysis" target into your mrtg.cfg, and the system shellscript into
/etc/mrtg/
	Feel free to look around at some of the other targets too.  If
you want to use the port specific ones, you'll need to make sure that
initmrtg.pl runs whenever the system boots and when the iptables rules
are flushed.  The email-related targets are exim specific, so I'd expect
they'd take some substantial retooling to make them go on a different
mta. 
	Also, for the http hits and mysql counts, mrtg has a bug that
causes a very high graph spike whenever you restart either daemon.  This
can be fixed by applying the included patch to the mrtg binary.  Note
that the patch can break accurate recording of high traffic routers when
using the perminute option on them.
	Please feel free to ask me if you have any other questions.  I'd
like to hear if/when you get it working.

Regards,
Erek
On Wed, Mar 16, 2005 at 01:19:29PM -0500, Frank Kumro wrote:
> Erek,
>    That would be very helpful if you can send me your config file for
> eth device. I like iptraf but I am also going to install mrtg (Ive
> known about it but now i feel like installing it). Thanks again
> because iptraf was just what I was looking for.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://www.nflug.org/pipermail/nflug/attachments/20050316/33102a25/attachment-0001.pgp


More information about the nflug mailing list