Zabbix通过SNMP监控Linux主机
监控Linux:Configuration---Host---Create Host
配置Templates:
Configuration---Templates---Create Template
SNMP OID 的查找方法:
//查看网卡的发送速率:
1
2
3
4
5
# snmpwalk -v 2c -c public 192.168.100.246.1.3.6.1.2.1.2.2.1.10
IF-MIB::ifInOctets.1 = Counter32: 0 //环回口
IF-MIB::ifInOctets.2 = Counter32: 10109263 //eth0
IF-MIB::ifInOctets.3 = Counter32: 7343934 //eth1
#
//查看第二块网卡的方式速率(标红的就是需要填写在Zabbix的SNMP OID上)
1
2
3
# snmpwalk -v 2c -c public 192.168.100.246IF-MIB::ifInOctets.2
IF-MIB::ifInOctets.2 = Counter32: 10109443
#
页:
[1]