Public domain
cd /usr/ports/net-mgmt/mrtg
make install clean && rehash
# mkdir /usr/local/www/data/mrtg
# cfgmaker notpublic@127.0.0.1 > /usr/local/etc/mrtg/mrtg.cfg
# vi /usr/local/etc/mrtg/mrtg.cfg
WorkDir: /usr/local/www/data/mrtg
Options[_]: bits
# indexmaker /usr/local/etc/mrtg/mrtg.cfg > /usr/local/www/data/mrtg/index.html
# vi /etc/crontab
*/5 * * * * root /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg > /dev/null 2>&1
BY: Pejman Moghadam
TAG: _
_DATE: 2008-06-07 15:27:19