我是靠谱客的博主 谦让彩虹,这篇文章主要介绍linux snmp配置密码,Linux SNMP V2/V3 简单设置,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(73)

评论列表共有 0 条评论

立即
投稿
返回
顶部