Pencarian

Jumat, 14 November 2014

Simple SNMP

root@server:~# apt-get install snmp snmpd
root@server:~# nano /etc/snmp/snmpd.conf
rocommunity public 192.168.0.0/255.255.255.0
rocommunity public  localhost
rocommunity public  192.168.1.0/255.255.255.0
syslocation "nama server"
syscontact noc@stikom-db.ac.id
disk /


root@server:~# nano /etc/default/snmpd
# snmpd options (use syslog, close stdin/out/err).
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
  SNMPDOPTS='-LS 0-4 d -Lf /dev/null -p /var/run/snmpd.pid'
root@server:~# service snmpd restart

Tidak ada komentar:

Posting Komentar