^.^ Step I, Install MRTG
#apt-get install mrtg
secara default file mrtg akan diletakkan pada posisi /var/www/mrtg
^.^Step II, Install SNMP SNMPD
#apt-get install snmp snmpd
^.^Step II, Konfigurasi
edit file snmpd.conf
#nano /etc/snmp/snmpd.conf
ubah setting
com2sec paranoid default public
#com2sec readonly default public
#com2sec readwrite default private
#com2sec readonly default public
#com2sec readwrite default private
Menjadi
#com2sec paranoid default public
com2sec readonly 127.0.0.1 public
#com2sec readwrite default private
lakukan perubahan pada baris
syslocation < Nama projek >
syscontact alamat@email.com
^.^Restart SNMPD
# /etc/init.d/snmpd restart
^.^silahkan test
#snmpwalk -v 2c -c public 127.0.0.1
^.^Konfigurasi MRTG
# cfgmaker –global ‘WorkDir: /var/www/mrtg’ –output /etc/mrtg.cfg public@127.0.0.1
^.^megenerate file index.htm mrtg
indexmaker /etc/mrtg.cfg –columns=1 –output /var/www/mrtg/index.html
^.^Silahkan coba akses
http://127.0.0.1/mrtg.
Tidak ada komentar:
Posting Komentar