install snmp

snmp adalah Simple Network Management Protocol dimana kita bisa gunakan untuk memonitor alat pada network. (wiki lebih jelas)

berikut cara setting snmp pada linux

— install paketnya
# apt-get install snmpd
# apt-get install snmp-mibs-downloader

— edit file : nano /etc/default/snmpd
tambahkan
export MIBS=/usr/share/mibs

— edit file : nano /etc/snmp/snmpd.conf
tambahkan
agentAddress udp:127.0.0.1:161
agentAddress udp:[ipaddress server]:161

##  section ACCESS CONTROL
rocommunity PublicKey [network address VLAN 1]/16 -> misal 192.162.0.0
rocommunity PublicKey [network address VLAN 2]/16 -> misal 192.168.0.0
rocommunity PublicKey localhost

— restart service snmpd
service snmpd restart

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Powered by WordPress.com.

Up ↑

%d bloggers like this: