zabbix基于SNMP 协议监控路由器
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix基于SNMP 协议监控路由器相关的知识,希望对你有一定的参考价值。
zabbix基于SNMP 协议监控路由器
步骤
步骤超级方便。
1. 路由器上开启snmp
2. 确保外网能访问到
3. 用snmpwalk测试
4. 添加zabbix主机,SNMP interfaces中添加ip,去掉默认的zabbix agent,模块选择Template SNMP Interfaces
snmpwalk测试命令
[[email protected] init.d]# snmpwalk -v 2c -c public 192.168.1.253 1.3.6.1.2.1.2.2.1.10 IF-MIB::ifInOctets.1 = Counter32: 7515379 IF-MIB::ifInOctets.2 = Counter32: 746039364 IF-MIB::ifInOctets.3 = Counter32: 0 IF-MIB::ifInOctets.4 = Counter32: 1758657775 IF-MIB::ifInOctets.5 = Counter32: 0 IF-MIB::ifInOctets.9 = Counter32: 0 IF-MIB::ifInOctets.10 = Counter32: 0 IF-MIB::ifInOctets.11 = Counter32: 0 IF-MIB::ifInOctets.12 = Counter32: 0 IF-MIB::ifInOctets.13 = Counter32: 2188418602
以上是关于zabbix基于SNMP 协议监控路由器的主要内容,如果未能解决你的问题,请参考以下文章