Title: mrtg setup Subject: notes on using mrtg # graph the cisco3548 # fist get the stuff: i used rpms from suse # mrtg, gd library, libpng, and zlib ##Install mrtg ##Copy *.gif and *.png files from mrtg install dir to the working dir. # cp /usr/lib/mrtg2/* /home/bigbrother/bb/www/mrtg/ # ##Use cfgmaker use snmp connection to host to probe for configuration ##Makes an intital config file. # cfgmaker public@webber --global "workdir: /home/bigbrother/bb/www/mrtg" --output /home/bigbrother/bb/www/mrtg/webber.cfg # ##Run mrtg a few times. # mrtg /home/bigbrother/bb/www/mrtg/webber.cfg # mrtg /home/bigbrother/bb/www/mrtg/webber.cfg # mrtg /home/bigbrother/bb/www/mrtg/webber.cfg # ##Creates the inital html page. # indexmaker --bodyopt='bgcolor="#738AA6" text="#000000" link="#000000" vlink="#000000" alink="#000000" # /home/bigbrother/bb/www/mrtg/webber.cfg > /home/bigbrother/bb/www/mrtg/webber.html # # edit crontab to run every 5 minutes. # */5 * * * * /usr/bin/mrtg /home/bigbrother/bb/www/mrtg/webber.cfg # # now brows to it and look for the .html