• zabbix监控A主机到B主机的网络质量


    采用zabbix自带的icmp ping即可进行监控:

    1、安装fping

    2、将fping安装后链接到/usr/sbin/fping下,设置组为zabbix;

    3、增加监控项:icmpping[ipaddress]

    Key
     DescriptionReturn valueParametersComments
     
    icmpping[<target>,<packets>,<interval>,<size>,<timeout>]
      Host accessibility by ICMP ping. 0 - ICMP ping fails
    1 - ICMP pingsuccessful
    target - host IP or DNS name
    packets - number of packets
    interval - time between successive packets in milliseconds
    size - packet size in bytes
    timeout - timeout in milliseconds
    Example:
    ⇒ icmpping[,4] → if at least one packet of the four is returned, the item will return 1.

    See also: table of default values.
     
    icmppingloss[<target>,<packets>,<interval>,<size>,<timeout>]
      Percentage of lost packets. Float. target - host IP or DNS name
    packets - number of packets
    interval - time between successive packets in milliseconds
    size - packet size in bytes
    timeout - timeout in milliseconds
    See also: table of default values.
     
    icmppingsec[<target>,<packets>,<interval>,<size>,<timeout>,<mode>]
      ICMP ping response time (in seconds). Float. target - host IP or DNS name
    packets - number of packets
    interval - time between successive packets in milliseconds
    size - packet size in bytes
    timeout - timeout in milliseconds
    mode - one of min, max, avg (default)
    If host is not available (timeout reached), the item will return 0.

    See also: table of default values.
  • 相关阅读:
    【Pascal's Triangle II 】cpp
    【Pascal's Triangle】cpp
    【Substring with Concatenation of All Words】cpp
    【Multiply Strings】cpp
    【Minimum Window】cpp
    【Merge Intervals】cpp
    【Insert Interval】cpp
    认识GIT之入门
    数据结构学习系列之线性表(四)
    VBox虚拟机与主机(宿主)通讯原理以及socat(套接字猫)简单介绍
  • 原文地址:https://www.cnblogs.com/bluecarrife/p/7149618.html
Copyright © 2020-2023  润新知