linux snmp配置
作者:
xiangxik | 来源:发表于
2017-12-27 22:32 被阅读0次
- 确认snmp代理是否已安装
# rpm -q net-snmp
- 如果未安装,安装snmp
# yum install net-snmp net-snmp-devel net-snmp-utils
- 修改配置 /etc/snmp/snmpd.conf
com2sec notConfigUser default public
#view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
#access notConfigGroup "" any noauth exact systemview none none
access notConfigGroup "" any noauth exact mib2 none none
- 启动并设置为自启动
systemctl start snmpd
systemctl enable snmpd
本文标题:linux snmp配置
本文链接:https://www.haomeiwen.com/subject/lxvpgxtx.html
网友评论