
A representative MRTG graph depicting network utilization

MRTG is a GREAT tool for network professionals, enabling users to easily monitor what's going on in the network. I personally have seen many instances where we've detected problems in some pretty critical networks - all because MRTG was giving us real time information on network performance.
Since MRTG automatically adjust the 'Y' Axis, based on throughput, it's likely that sooner or later, an unusual spike will result in an unexpected adjustment in the axis which doesn't reflect what's "really" going on. Rather than endure those anomalies, we've preferred to modify the historical data, to have MRTG create graphs which more closely what we're seeing on a regular basis..
I created the utility above to provide users with an easy way to view the data contained in the log files, and to enable users to modify that data when necessary. Users can select a single file, or they can make changes to any number of files in a specified directory simply by tagging multiple files.
I've also modified the system so it'll automatically detect whether the log file is from a Windows Operating System, or a Unix OS. The difference is that in a Unix OS, a new line is characterized by an ascii (10), while it's represented by an Ascii (10) followed by an Ascii (13) in a Windows environment. The system handles both - without operator action.
MRTG monitors 4 parameters -
the average throughput (in
and out), and the maximum throughput (in and out). In this utility you can
specify maximum values for any or all of these parameters. Changes will be made
ONLY for those parameters where you've specified a maximum value. It's your
option whether you prefer to simply delete those data lines with errant data, or
to set the value to the maximum you specify.
You can also scroll through the contents of a log file by double-clicking the file. You'll see (at the bottom of the display) the maximum value for each of the monitored parameters. I recommend you use this feature prior to making modifications to the log file.
It's smart to retain a backup of the existing data in the event you inadvertently specify a parameter that's far removed from the norm. The system will prompt you on whether you want to save a backup copy.
OK..... you can download the utility by clicking on the 'download' link at the top of this page, or by clicking on the following link - MRTG Spike Leveler
Please contact me at boumaj@berkutsystems.com if you have any questions or suggestions for improvement.