MRTG
The first two patches have been integrated into MRTG 2.11.0. It would probably be better to get the latest
MRTG from Tobi's site.
Patches to MRTG's cfgmaker script (v 2.10.16pre1):
-
cfgmaker.dellLan.patch
- adds support for Dell's PowerConnect switches so that ifAlias can be queried.
-
cfgmaker.cleaned.patch
- in addition to support Dell's PowerConnect switches, this patch cleans up the formatting of the
cfgmaker script, which had become difficult to read with all the changes made to it.
Patches to other MRTG related scripts:
-
mrtg-rrd.1.35.4hr.patch -
adds a fourhour graph option to mrtg-rrd v1.35. I had a need to monitor traffic with 1 minute
averages recently, but found that the 24-hour graph only has a granularity of 5 minutes. A four hour
graph plots the 1-minute average. This patch also adds support for bbmrtg.pl by adding bb* parameters
to the list that are recognized. I also added some code to calculate the correct number of days for
the VRULE (a FIXME identified by the author).
Updated 2005-01-12 - Jim Johnson discovered I'd posted a patch to an older version of mrtg-rrd.cgi. Seems some
versions of the script have hard tabs while others don't. Here's a patched version of the script to simplify
things: mrtg-rrd.1.35.4hr
Big Brother
Patches and scripts for integrating MRTG output into Big Brother:
-
bbmrtg-1.6.tar.gz - an updated
version of Craig Cook's bbmrtg.pl script that adds support for two additional parameters in the mrtg config
file that will be read by bbmrtg.pl:
-
bb*althost> - a second host to link the interface to. With this option you can show
the traffic on the interface in a column beside the host in addition to listing it under the switch.
-
bb*altsvc - similar to the bb*svc parameter, this defines the column name that the traffic
status will appear under next to the alternate host.
This patch also includes support for four hour graphs if used with cfgmaker v2.10.16pre1 patched with
mrtg-rrd.1.35.4hr from above.
-
bbmrtg.1.5-1.6.patch
- this patches Craig's v1.5 bbmrtg.pl to v1.6 (same as above). Here's an alternate patch against
bbmrtg version 1.41 (which appears to be a fork):
bbmrtg.1.41.adp.patch.
-
bbmrtg.template -
this template can be used with MRTG's cfgmaker (see the --if-template option) to automatically insert the
appropriate fields needed by bbmrtg.pl.
Patches to Big Brother modules (v1.9e):
-
bbnet.ssh.patch -
patches bbnet.c to fix the "unexpected response []" result, and corresponding red status with some commercial
ssh servers. Sending data before reading from the scoket caused the initial SSH string to be lost.
-
bbd.LTGT.patch -
patches bbd.c to allow "<" and ">" in incoming
status strings. By default BB will remove the "&" and ";"
characters to reduce the risk of to the web server. This patch keeps that filter in place for all strings
except the two listed.
Comments and bug reports are welcome. All patches are released under the same license as the application being patched.
Copyright © 2004, 2005 - Al Payne