打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

cacti客户端snmp设置

1. ubuntu :

apt-get install snmp snmpd

vim /etc/default/snmpd  //将此配置文件中127.0.0.1 删掉。

/etc/init.d/snmpd restart

--------------------------------------------------------

2. redhat/centos

yum install -y net-snmp net-snmp-utils

查看已安装的版本 snmpd -v 

vi /etc/snmp/snmpd.conf

更改 com2sec notConfigUser default public

改为 com2sec notConfigUser 监控端IP public

 

更改access notConfigGroup "" any noauth exact systemview none none

改为access notConfigGroup "" any noauth exact all none none

 

将 #view all included .1 80 前面的 # 注释去掉

service snmpd restart ------>端口:161

posted on 2014-06-26 10:28  星辰大海ゞ  阅读(515)  评论(0编辑  收藏  举报