snmp 기본설정

Knowledge/OS 2015. 6. 24. 13:57

cacti용으로 centos에서 주로 쓰는 기본 설정

 

com2sec local 127.0.0.1 커뮤니티값
com2sec mynetwork 192.168.0.0/16 커뮤니티값
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
view all included .1 80
view systemview included system
#       group          context sec.model sec.level prefix read       write  notif
access  MyROGroup      ""      any       noauth    exact  all        none none

 # disk used #
# disk /
# disk /log
# disk /usr
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

Posted by neo-orcl
,