sudo apt-get install apache2 snmpd mrtg
2.
vi /etc/snmp/snmpd.conf
--
..
# sec.name source community
#com2sec paranoid default public
com2sec readonly default public
#com2sec readwrite default private
..
3. use cfgmaker command to create a mrtg config file
# public is the community name set in step 2
cfgmaker public@localhost > /etc/mrtg.cfg
4. creat mrtg webpages by using indexmaker to read mrtg con
indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html
沒有留言:
張貼留言