Zabbix monitoring uses macros to automatically discover and monitor network cards

Source: Internet
Author: User

First, automatically discover the network card and monitor

Create a new template first

1. The Discovery rule name is Network interface discovery

Key value is Net.if.discovery

2, filter to add the macro to the {#IFNAME} matches @Network interfaces for discovery

3. New Project prototype

Create a monitor entry for the traffic coming in from the NIC

Incoming network traffic on {#IFNAME}

Zabbix Agent

net.if.in[{#IFNAME}]

Number of the non-positive

Decimal

Bps

Self-setting multiplier is 8

Storage value changed to difference per second rate


Traffic monitoring entry for new network card

Outgoing network traffic on {#IFNAME}

net.if.out[{#IFNAME}]

Number of the non-positive

Decimal

Bps

Self-setting multiplier is 8

Storage value changed to difference per second rate

Create a new graphic prototype

Name network traffic on {#IFNAME}

Project, you can add a project prototype.


After creating the template, you can add the host to the template, you can realize the automatic detection and monitoring of the network card.

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.