Zabbix Monitoring Switch

Source: Internet
Author: User

Using Zabbix to realize the monitoring of the switch, the principle of using SNMP to realize monitoring is to obtain the required monitoring data through the OID. Different switch device OIDs may vary, and if you are unsure of the specific OID, you can perform a stepwise analysis by using the following command:

snmpwalk-v 2c-c homed 192.168.52.6 >oid.txt

The monitoring steps for the Dell switch are implemented via the Zabbix LLD:

    1. First configure the public body name of the switch, the community name of all switches is best unified and easy to manage

      Snmp-server community "homed" ro

    2. Testing on the Zabbix server host

      snmpwalk-v 2c-c homed 192.168.52.6 sysName

      Get the name of the switch if the data you can get is configured correctly

    3. Configuration of Zabbix for monitoring with LLD

Configure common body names: general---Macros

{$SNMP _community} = homed//reference in the definition module

Configuration Template: Create Discovery rule

Key1: IfName

Oid:if-mib::ifname//oid Gets the name of the interface

eg:if-mib::ifname.1 = string:te1/0/1 {#SNMPINDEX}=1 {#SNMPVALUE}=TE1/0/1

{#SNMPINDEX} and {#SNMPVALUE} Two variables generated for key1 are used to define the prototype later

SNMP community Name: {$SNMP _community}//defined in the mega-set

Filter: {#SNMPVALUE} match Te//filter The interface information you want to monitor

To create a project prototype:

key2:ifinoctets[{#SNMPVALUE}]

Oid:if-mib::ifinoctets. {#SNMPINDEX}

Unit:bps--8

Store Value:delta (speed per second)

Trigger definition:

Name:outgoing use of interface {#SNMPVALUE} exceed 100M for the last 5 minutes

{Network Traffic monitor:ifoutoctets[{#SNMPVALUE}].count (#5, 100M, "GT")}=5

5 consecutive times greater than or equal to 100M alarms

This article from "Banging blog" blog, declined reprint!

Zabbix Monitoring Switch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.