Powered by coANDco UK

Howto install mrtg on debian

From How2s

(Redirected from How2 install mrtg on debian)

MRTG also known as "Multi Router Traffic Grapher" is a project by Tobias Oetiker at the Swiss Federal Institute of Technology (ETH), Zürich. MRTG allows you to monitor various aspects of your computer, e.g. the traffic, that is going over your network interfaces. Get more information on MRTG at http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

install appropriate packets via dpkg:

# apt-get install snmp
# apt-get install snmpd
# apt-get install mrtg

backup snmpd.conf

create snmpd.conf: "rocommunity public":

# snmpconf

create mrtg.cfg:

# cfgmaker
# /usr/bin/mrtg /usr/home/mrtg/cfg/mrtg.cfg

add to crontab:

# crontab -e

then add to the content:

5,10,15,20,25,30,35,40,45,50,55,00 * * * * /usr/bin/mrtg /home/mrtg/cfg/mrtg.cfg
Please check out our sponsor, thanks to whom How2s.org is FREE: