Simple Config SNMP to Monitoring Bandwidth Internet

Simple Config SNMP to Monitoring Bandwidth Internet - itlampung.com - SNMP adalah (Simple Network Management Protocol) merupakan salah satu protocol yang bekerja pada layer aplikasi didalam OSI Layer7, fungsinya untuk memonitoring/memanage perangkat jaringan seperti router, switch, server dll.




Berikut adalah konfigurasi SNMP untuk Server Linux.

 root@Aziz:~ # apt-get install snmpd  
 Reading package lists... Done  
 Building dependency tree      
 Reading state information... Done  
 The following packages were automatically installed and are no longer required:  
  libaprutil1-dbd-sqlite3 libaprutil1-ldap  
 Use 'apt-get autoremove' to remove them.  
 The following NEW packages will be installed:  
  snmpd  
 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.  
 Need to get 74.1 kB of archives.  
 After this operation, 265 kB of additional disk space will be used.  
 Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/main snmpd i386 5.4.3~dfsg-2.4ubuntu1 [74.1 kB]  
 Fetched 74.1 kB in 1s (59.3 kB/s)  
 Preconfiguring packages ...  
 Selecting previously unselected package snmpd.  
 (Reading database ... 269859 files and directories currently installed.)  
 Unpacking snmpd (from .../snmpd_5.4.3~dfsg-2.4ubuntu1_i386.deb) ...  
 Processing triggers for man-db ...  
 Processing triggers for ureadahead ...  
 ureadahead will be reprofiled on next reboot  
 Setting up snmpd (5.4.3~dfsg-2.4ubuntu1) ...  
 update-rc.d: warning: snmpd stop runlevel arguments (1) do not match LSB Default-Stop values (0 1 6)  
  * Starting network management services:                                            Processing triggers for ureadahead ...  
 root@Aziz:~ # mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig 
 root@Aziz:~ # nano /etc/snmp/snmpd.conf

Masukkan file config sebagai berikut

 com2sec local  0.0.0.0      itlampung_snmpd  
 com2sec localh localhost    itlampung_snmpd  
 group  MyROGroup    v1   local  
 group  MyROGroup    v2c   local  
 group  MyROGroup    usm   local  
 group  localGroup   v1   localh  
 group  localGroup   v2c   localh  
 group  localGroup   usm   localh  
 view  all   included    .1   80  
 access MyROGroup    ""   any   noauth exact  all   none   none  
 access localGroup   ""   any   noauth exact  all   none  none  
 syslocation NOC ITLampung.Com  
 syscontact Sysadmin <noc@itlampung.com>  

Save file dan restart daemon

 root@Aziz:~# /etc/init.d/snmpd restart  
  * Restarting network management services:     
 root@Aziz:~#   

Selanjutnya untuk mengintergrasikannya dengan Cacti (Software Monitoring Webbased) perhatikan gambar dibawah ini.

Subscribe to receive free email updates:

0 Response to "Simple Config SNMP to Monitoring Bandwidth Internet"

Post a Comment

Tinggalkan jejak agan dihalaman komentar dibawah ini.. Jangan lupa :)

- ITLampung.Com