mrtg runs on a seperate server
i have set this up for my company on red het 6 and also for windows 2000 (do not use win98 or 95.....crap)
it is actually pretty simple after the initial culture shock
it works like this:
there is a configuration file, and an output directory (where the html pages are made)
making sure that you have perl, snmpd, and installed
you initially create the configuration file by running the configmaker script:
i.e.
./cfgmaker --global 'WorkDir: /home/httpd/html/mrtg/' SNMPPASSWD@TARGETDEVICE --output /usr/local/bin/mrtg/mrtg-2.9.25/bin/mrtg.cfg
this creates the configuration file in /usr/local/bin/mrtg/mrtg-version/bin (if you installed it in /usr/local/bin/
and creates the web page in /home/httpd/html/mrtg/ :
munipulate the configuration file for your OS and have it run as a daemon (constantly, to update every 5 minutes)
here is a snippet from the top half of my config file
# Created by
# ./cfgmaker --global 'WorkDir: /home/httpd/html/mrtg/' SNMPPASSWD@TARGETDEVICE --output /usr/local/bin/mrtg/mrtg-2.9.25/bin/mrtg.cfg
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
WorkDir: /home/httpd/html/mrtg/
RunAsDaemon: Yes
Options[_]: growright, bits
#########################################################
it will get data from the device via snmp such as device name, ips on interfaces, interface traffic (at that moment), etc and it will be listed under the above snippet of my config
when you start the perl script:
perl mrtg mrtg.conf
perl will gather the above info and present it as a web page