zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    UITextField的简单操作和实际应用
    iOS
    单例传值
    改良UIScrollView滚动视图
    省市便利 UIPicherView
    滚动视图UIScrollView
    label自适应
    将图像设置成圆形
    笔记
    笔记
  • 原文地址:https://www.cnblogs.com/bluecarrife/p/7149618.html
Copyright © 2011-2022 走看看