Recent Changes - Search:


edit SideBar

Install MRTG and SNMP

On this page... (hide)

  1. 1. Links

Security Note: SNMP may give access to information you don't want to make public. Make sure that you restrict access to SNMP using IPTables before you start installing SNMP.

# yum install mrtg net-snmp net-snmp-utils
# chkconfig snmpd on
# service snmpd start
Starting snmpd:                                            [  %green%OK%%  ]
# cfgmaker XXXX@localhost
--base: Get Device Info on XXXX@localhost:

# mv /var/www/mrtg/index.html /var/www/mrtg/index_mrtg.html 
# indexmaker /etc/mrtg/mrtg.cfg --output /var/www/mrtg/index.html 
# LANG=C mrtg /etc/mrtg/mrtg.cfg
# LANG=C mrtg /etc/mrtg/mrtg.cfg
# LANG=C mrtg /etc/mrtg/mrtg.cfg
## (yes, repeat three times to create all files)
snmptable -v2c -c XXX localhost diskIOTable  

1.  Links

Edit - History - Print - Recent Changes - Search
Page last modified on April 06, 2009, at 09:28 AM