You cannot see this page without javascript.

2017.04.12 17:37

SNMP 설치

조회 수 234 추천 수 0 댓글 0

SNMP 설치

명령어

 
 yum install net-snmp-utils php-snmp net-snmp-libs
 

또는

 
 yum install net-snmp
 

SNMP 설정

명령어

 
 vi /etc/snmp/snmpd.conf
 

<수정내역>

com2sec local     localhost           public
com2sec remot   111.222.333.444       password

group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group ReRWGroup v1         remot
group ReRWGroup v2c        remot
group ReRWGroup usm        remot
view all    included  .1                               80

access MyRWGroup ""      any       noauth    exact  all    all    none
access ReRWGroup "" any noauth exact all all none

syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

 

서비스 등록

명령어

 
 chkconfig snmpd on
 service snmpd start
 

Who's DragonHaptic

profile