snmp协议监控
安装snmp服务器端
yum install net-snmp -y
服务器端:配置(centos)
vim /etc/snmp/snmpd.conf
com2sec notConfigUser default public
view systemview included .1
服务器端:配置,瑞数防护系统botgate(Ubuntu)
com2sec AspGuest default public
view systemonly included .1
启动并设置开机自启动
systemctl start snmpd
systemctl enable snmpd
zabbix-server安装snmp客户端,命令测试取值
yum install net-snmp-utils.x86_64 -y
snmpwalk -v 2c -c public 192.168.111.100 .1.3.6.1.2.1.25.2.2.0
zabbix-server界面创建主机
配置模板选择linux snmpv2模板
配置完成,重置zabbix-server,稍等一下就可以成功了
注意:如果snmp的密码更改了,这里一定要同步,不然就没法联通