一、被监控机安装snmp
yum -y install snmp
二、被监控机的配置
vi /etc/snmp/snmpd.conf
做以下更改:
1、找到com2sec notConfigUser default public
改为:com2sec notConfigUser 192.168.1.1(改成监控服务器的ip) public
2、找到access notConfigGroup "" any noauth exact systemview none none
改 为:access notConfigGroup "" any noauth exact all none none
3、找到#view all included .1