linux snmp配置

2017-12-27  本文已影响0人  xiangxik
  1. 确认snmp代理是否已安装
# rpm -q net-snmp
  1. 如果未安装,安装snmp
# yum install net-snmp net-snmp-devel net-snmp-utils
  1. 修改配置 /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
  1. 启动并设置为自启动
systemctl start snmpd
systemctl enable snmpd
上一篇 下一篇

猜你喜欢

热点阅读