CACTI的客户端SNMP设置
时间:2007-03-27 来源:bleach
CACTI的客户端SNMP设置
For linux
[root@script opt]# vi /etc/snmp/snmpd.conf
更改 com2sec notConfigUser default public
改为 com2sec notConfigUser 127.0.0.1 public #注 127.0.0.1 是安装cacti服务机IP,指定只有这IP才能获取本机的SNMP信息 提高安全性
更改 access notConfigGroup "" any noauth exact systemview none
none
改为 access notConfigGroup "" any noauth exact all none
none
将 #view all included .1 80 前面的 # 注释去掉
保存退出 :wq
[root@script opt]# service snmpd restart
注:如果你机器内没有snmpwalk和snmpge命令,请到安装盘里查找 net-snmp-utils 包,执行 rpm -
ivh net-snmp-utils-5.0.9-2.30E.15.i386.rpm 之后这两个命令就在系统里了。其他包也都在安装盘
里 确保安装这四个包就OK
For windows
CACTI的客户端SNMP设置
For linux
[root@script opt]# vi /etc/snmp/snmpd.conf
更改 com2sec notConfigUser default public
改为 com2sec notConfigUser 127.0.0.1 public #注 127.0.0.1 是安装cacti服务机IP,指定只有这IP才能获取本机的SNMP信息 提高安全性
更改 access notConfigGroup "" any noauth exact systemview none
none
改为 access notConfigGroup "" any noauth exact all none
none
将 #view all included .1 80 前面的 # 注释去掉
保存退出 :wq
[root@script opt]# service snmpd restart
注:如果你机器内没有snmpwalk和snmpge命令,请到安装盘里查找 net-snmp-utils 包,执行 rpm -
ivh net-snmp-utils-5.0.9-2.30E.15.i386.rpm 之后这两个命令就在系统里了。其他包也都在安装盘
里 确保安装这四个包就OK
For windows