Linux SNMP V2/V3 简单设置
SNMP V2默认配置
com2sec notConfigUser default public
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
access notConfigGroup "" any noauth exact systemview none none
syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root (configure /etc/snmp/snmp.local.conf)
dontLogTCPWrappersConnects yes
测试
snmpwalk -v 2c -c public 172.16.10.56 1.3.6.1.4.1.2021
SNMP V2修改后的设置
com2sec inlineUser 172.16.0.0/16 unline
group inlinexGroup v2c inlinexUser
view all included .1
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
access inlinexGroup "" any noauth exact all none none
sysLocation = "JinxCheng
最后
以上就是谦让彩虹最近收集整理的关于linux snmp配置密码,Linux SNMP V2/V3 简单设置的全部内容,更多相关linux内容请搜索靠谱客的其他文章。
发表评论 取消回复