Zabbix enterprise application discovery monitoring switch traffic

Source: Internet
Author: User
Tags cisco switch

Previously, the monitoring switch used cacti for monitoring through snmp. However, the monitoring time of cacti is long every five minutes, so the data cannot be more precise, third-party plug-ins also need to be installed, which is troublesome. In addition, I now use zabbix to monitor the server's hardware and software, so I moved the traffic monitoring of the switch from cacti to zabbix, zabbix is used to monitor server hardware, systems, services, switch traffic, and other information in a unified manner. This only maintains one monitoring platform, allowing for more detailed monitoring and alarm and better management.

Because zabbix monitoring requires that the monitoring host be associated with the template, the first step is to create a template. Of course, I have already completed the template, so you only need to modify it as needed. If I do not use fixed port monitoring but use discover for monitoring, the advantage is that the same template can discover and monitor the number of associated switch ports on its own, it does not occur because the ports are different and different port templates need to be created for use. At the same time, this template can not only monitor the H3C switch, but also monitor the CISCO switch.

The installation method is to import the template to zabbix, and then associate the monitored switch with the template, at the same time, set the macro variable in your SNMP community my template in zabbix to {$ SNMP_COMMUNITY_PUBLIC_V2}, and the corresponding background macro content to public). The following is monitoring:

1. Monitoring graphics

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014393-0.jpg "title =" 10.jpg" alt = "103035246.jpg"/>

This is a graph discovered through discovery, only part of it.

2. graphic content

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014006-1.jpg "title =" 10.jpg" alt = "103300603.jpg"/>

The incoming and outgoing traffic is measured in bits. The incoming traffic is 95% of the incoming traffic.

The template content is described as follows:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014164-2.jpg "title =" 10.jpg" alt = "103421173.jpg"/>

We can see two templates. One is snmp Type 1 and the other is snmp type 2. You can choose one based on your switch configuration. At the same time, the project, trigger, and graphics and filtering values are both 0 and 1 in the detection. In this way, discover is used for automatic discovery.

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014514-3.jpg "title =" 10.jpg" alt = "103551424.jpg"/>

We can see that I have defined a lot of content and the monitoring time is 60 s.

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156013507-4.jpg "title =" 10.jpg" alt = "103832564.jpg"/>

We can see that I use the snmp 2 protocol. SNMP community is defined by macros. You need to define it in zabbix's "management" -- "general" -- "macro ".

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014312-5.jpg "title =" 10.jpg" alt = "104018144.jpg"/>

The advantage of using macros is that you only need to change it once for easy operation and control.

Enter the project prototype. The content is

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014453-6.jpg "title =" 10.jpg" alt = "2017141647.jpg"/>

Trigger is

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/11560131J-7.jpg "title =" 10.jpg" alt = "2017231881.jpg"/>

The threshold for incoming and outgoing alarms is 100 MB, which is checked for 5 times. If the 5i exceeds MB, the alarms can be easily monitored. I only monitor the traffic at the egress of the data center, so I disabled this trigger.

Graphics

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/11560124O-8.jpg "title =" 10.jpg" alt = "104422901.jpg"/>

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/1156014007-9.jpg "title =" 10.jpg" alt = "1044000000.jpg"/>

This is the basic content. You can study the template in the attachment. If you have any questions, contact your blog or qq.



This article is from the "Yin-Technical Exchange" blog, please be sure to keep this source http://dl528888.blog.51cto.com/2382721/1340983

Related Article

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.