SNMP V2简单设置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SNMP V2简单设置相关的知识,希望对你有一定的参考价值。
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 <[email protected]> (configure /etc/snmp/snmp.local.conf)
dontLogTCPWrappersConnects yes
修改后的设置
com2sec inlineUser 172.16.0.0/16 unline
group inlinexGroup v2c inlinexUser
group inlinexGroup v3 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 5F C1-5"
sysContact = "Bob <[email protected]>"
dontLogTCPWrappersConnects yes
SNMP V2简单配置文件,临时记录。
如有需求,请根据snmpd.conf配置文件文档介绍自行修改。
2018.06.26
以上是关于SNMP V2简单设置的主要内容,如果未能解决你的问题,请参考以下文章