Perintah - perintah yang dipakai untuk install SNMP di linux
install snmp :
-[root@yulius]#tar -zxvf net-snmp-5.1.1.tar.gz
-[root@yulius]#mv net-snmp-5.1.1 snmp
-[root@yulius]#./configure
-[root@yulius]#make
-[root@yulius]#umask 022
-[root@yulius]#make install
-[root@yulius]#vi /usr/local/share/snmp/snmpd.conf
###############################################
com2sec public default public
group public v1 public
group public v2c public
group public usm public
view all included .1
access public "" any noauth exact all none none
###############################################
-[root@yulius]#/usr/local/sbin/snmpd
-[root@yulius]#netstat -pln | grep snmpd
-[root@yulius]#snmpwalk -v 1 -c public localhost system
0 komentar:
Post a Comment