Zabbix adding NIC internal and external traffic monitoring

Source: Internet
Author: User

Off-topic: Zabbix pay attention to one go, from beginning to end no one disturb and then decorate. But the dry operation is unavoidable someone to disturb, this came to request the cloth environment, that request to buy the server. So the road of Zabbix inevitably go the potholes.


Now I want to the host list inside the Zabbix_server network card inside and outside the traffic situation of a monitoring, first login Zabbix, configuration---Hosts, the following menu appears:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/85/DF/wKiom1etMhHyqD6CAAGMKFiPRcA365.png "title=" 1.png " alt= "Wkiom1etmhhyqd6caagmkfiprca365.png"/>

Now you can see that the zabbix_server behind the link a lot of templates, it is because link a lot of templates, so it's items very many, 42. Now it is time to add two new monitoring items to the Zabbix_server, this step is not really related to the template, just add items directly in the items.


We first add the network card outside the flow of items, the entire configuration:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/85/DE/wKioL1etMumhdAS3AAEi8mXel0M595.png-wh_500x0-wm_3 -wmp_4-s_3293024205.png "title=" 1.png "alt=" Wkiol1etmumhdas3aaei8mxel0m595.png-wh_50 "/>

Inside the specific values can be replaced by their own, such as applications, key\units\ useCustom multiplier These are fixed, all finished after you can save.


Find gourd Painting scoop, we can add a network card in the internal flow monitoring, is the same routine:

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/85/DF/wKiom1etN9yQQiGrAADkSmf7KUI623.png-wh_500x0-wm_3 -wmp_4-s_3412347817.png "title=" 1.png "alt=" Wkiom1etn9yqqigraadksmf7kui623.png-wh_50 "/>

With items, there will be trigger, with items in the key, then trigger is also very simple, here the expression many times you are from the online CTRL + C down, but can not CTRL + V, because the red Word error---- Incorrect item key "Net.if.in[eth0,bytes]" provided for trigger expression on "server name", so there are a lot of people who do not have the truth to eat melon go "add" route, And then found to take the add route to the first add the server to the corresponding template up. In fact, it is not necessary, this expression can be written by themselves, but make sure that trigger and items are paired. External network traffic is shown:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/85/DF/wKioL1etOJCT3jKBAABk_eeNaxY850.png "title=" 1.png " alt= "Wkiol1etojct3jkbaabk_eenaxy850.png"/>

Here I added the 1K, this is for the convenience of monitoring, the specific values vary depending on the situation, and the importance of my choice.


The last is to form a chart to fool the leader, let the leader feel what is called the tall, in the graph interface select Create graph, and then fill in:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/85/DF/wKioL1etOmmgtCftAACwA21g6hA104.png "title=" 1.png " alt= "Wkiol1etommgtcftaacwa21g6ha104.png"/>

One is the red line, one is the Green Line, the Dragon play beads, save.


Finally come to monitoring---graphs, find the right host,group and graph, you will see the exciting chart:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/85/E0/wKiom1etOv6Dn-PKAAJX8jQAlxU055.png "title=" 1.png " alt= "Wkiom1etov6dn-pkaajx8jqalxu055.png"/>


Here to pay attention to a few points, sometimes Zabbix reaction is slow, may write a good key will appear not the case of support, this time you can log in Zabbix_server to zabbix_get a bit, get the method before have said, please see HTTP. chenx1242.blog.51cto.com/10430133/1738820, if get is a successful return value, first check the corresponding unit (the result is a floating point value, but the units setting is an integer value will certainly not be support), if the unit is checked correctly, It is not possible to re-establish an items if you change the time of Zabbix check again.


Reference: ***2016/04/1488676.html

This article is from "Life is waiting for Gordo" blog, please make sure to keep this source http://chenx1242.blog.51cto.com/10430133/1837187

Zabbix adding NIC internal and external traffic monitoring

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.