From MattWiki
Jump to navigation Jump to search

Installing SNMP

On the MRTG Server and Clients install snmp in order to find out info about that host.

yum -y install net-snmp
/sbin/service snmpd start
/sbin/chkconfig snmpd on

Configuring SNMP

Installing MRTG

On the MRTG Server install MRTG

yum -y install mrtg

Configuring MRTG

cd /etc/mrtg
cfgmaker --output=mrtg.cfg \ \
echo "WorkDir: /var/www/html/noc/mrtg/" >> mrtg.cfg
indexmaker --output=/var/www/html/noc/mrtg/index.html /etc/mrtg/mrtg.cfg

Using MRTG