zoukankan      html  css  js  c++  java
  • 解决部署zabbix中zabbixagent的状态为灰色现象

    前言:

    好久没接触zabbix相关的东西了,恰逢公司项目调整,回顾了一把zabbix,中途遇见了zabbix-agent可用状态为灰色的问题,记录一下,供后面同学参考。

    环境:

    zabbix 5.0 + zabbix-agent 5.0

    解决思路:

    Availability 一共三种颜色对应三种状态【官网解释】:

    Green -   available
    Red  -   not available (upon mouseover, details of why the interface cannot be reached are displayed)
    Gray   -   unknown or not configured


    1. 如果是绿色,没的说,代表正常的,健康的;

    2. 如果是红色,代表错误,解决思路就是移动鼠标到红色 ZBX 上,会自动提示错误信息,根据错误提示寻找原因即可;

    3. 如果是灰色,代表Unknown, 容易令人茫然...

      ① 检查 /etc/zabbix/zabbix_agentd.conf 中的 Hostname 字段值是否与zabbix页面中的配置对应主机地方中的 Host name 的值是否一致(要一致);

      ② 检查是否给要监控的主机添加了监控模板或者具体的监控项(要添加);

      ③ 是否添加了被动监控模板或者被动监控项(需要存在被动监控);


    摘自zabbix论坛的一段话:

    • Green   -   You have at least 1 Passive check and connection between Server & Host can be established.
    • Red      -   If you have at least 1 Passive check, but your Server/proxy can't establish the connection with the Host
    • Grey     -   You have only Active checks or there is no checks at all..
  • 相关阅读:
    Openstack Swift 添加和删除 custom metadata name,通过 libcurl
    Windows Error Reporting, Mini dump 2, Full dump 1
    英语邮件结尾时常用的20个句子
    QT 编译时 Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.
    QVBoxLayout 不能移动
    学生管理系统
    使用python发送邮件
    ElasticSearch 基础 2
    ElasticSearch 基础 1
    Linux系统命令
  • 原文地址:https://www.cnblogs.com/ding2016/p/15786012.html
Copyright © 2011-2022 走看看