|Routers2 RRDTool Monitoring|
|My server latency:|
ADSL Status: SNR (Signal
to Noise Ratio) ATTN (Line
Server CPU Temperature
||Server Server System Temperature
Server Case Temperature
CPU Fan speed
House Temperature 1 (collected by
Matrix Orbital MX401 1Wire Interface)
House Temperature 2 ""
House Temperature 3 ""
House Temperature 4 (collected
by Maxim USB I-Button 1Wire interface)
House Temperature 5 ""
House Temperature 6 ""
Many people have been asking for my MRTG configuration
To save so many emails (hopefully) I have decided to put a couple of links on
here that may help you out.
Please note, my system is running on Windows 2003 (x64) R2 and this info is
tailored to the windows environment!
Of course, most bits should be easy to port (back) to UNIX as most of it was
originally taken from UNIX examples!
ZIP file includes one of my older mrtg.cfg files,
mbm2mrtg.pl (to allow motherboard
monitor 5 logs to be graphed) and the SNR/ATTN generation scripts which capture
Vigor 2600 log messages (I don't use these any more because I've retired my
Also included are a few 3rd party UNIX style tools for Win32 which I found
To create the traffic graphs, its simply a case of MRTG
the correct SNMP interfaces on the router.
To create the SNR and ATTN graphs for the Vigor 2600
(which does not expose these
values over the SNMP interface), mrtg.cfg calls the ADSLStats batch file
(included in ZIP file)
The ADSL Stats batch file calls several Win32 ports of
common *nix tools (like GREP, TAIL, ARK etc).
I've included these in the batch file for convenience.
The *nix tools parse a file saved on the server by
KiWi Syslog Daemon which is setup to capture and save
the sys-log messages from the router.
The Motherboard Monitor 5 Graphs (CPU usage, temperature
etc) are created by calling MBM2MRTG.PL from the
mrtg.cfg file. The MBM2MRTG.PL in the zip file will need modifying for your
configuration/MBM log file.
The original, and perhaps some more instructions, used to be found
here but the URL seems to be dead!.
NOTE: Ive now replaced MBM5 with speedfan as MBM5 is no longer developed or
supported. In order to so this,
I wrote a commandline program that MRTG calls to query the speedfan shared
memory. If you want a copy, send me a message on my forums.
The external temperature graphs are generated using many
Maxim 1-wire temperature sensors that are read by
and software which reads 1-Wire sensors located around my home.
The throughput monitoring is now done by
SNMPThroughput, my own C# application which will only
run on Windows
with the .Net Framework v1.1 installed.
If you need more information, feel free to contact me on the