MRTG

From MattWiki
Jump to: navigation, 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 public@samantha.mattrude.com \
public@mythtv.mattrude.com public@desktop.mattrude.com \
public@cam.mattrude.com public@printer.mattrude.com
echo "WorkDir: /var/www/html/noc/mrtg/" >> mrtg.cfg
indexmaker --output=/var/www/html/noc/mrtg/index.html /etc/mrtg/mrtg.cfg

Using MRTG