Zabbix通过SNMP监控Linux主机

时间:2016-04-30 01:12:21   收藏:0   阅读:1046

监控Linux:

Configuration---Host---Create Host

技术分享

技术分享

配置Templates:

Configuration---Templates---Create Template

技术分享

SNMP OID 的查找方法:

技术分享

//查看网卡的发送速率:

[root@Zabbix ~]# 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
[root@Zabbix ~]#

//查看第二块网卡的方式速率(标红的就是需要填写在Zabbix的SNMP OID上)

[root@Zabbix ~]# snmpwalk -v 2c -c public 192.168.100.246  IF-MIB::ifInOctets.2
IF-MIB::ifInOctets.2 = Counter32: 10109443
[root@Zabbix ~]#

技术分享

技术分享

技术分享

技术分享

技术分享

技术分享



本文出自 “鹏城-酱油瓶” 博客,谢绝转载!

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!