yum install net-snmp* -y
vim /etc/snmp/snmpd.conf
com2sec notConfigUser default public
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view systemview included .1
access notConfigGroup "" any noauth exact systemview none none
syslocation www.cactiez.com
syscontact xxx(c.c@126.com)
dontLogTCPWrappersConnects yes
service snmpd restart
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/91975/viewspace-2087649/
,如需转载,请注明出处,否则将追究法律责任。