zoukankan      html  css  js  c++  java
  • 006-Zabbix agent on Zabbix server is unreachable for 5 minutes

    环境描述:

           环境介绍:CentOS6.5   zabbix3.2.6(zabbix客户端与服务端在一台主机)

      1.在安装完zabbix之后,添加客户端,客户端配置(zabbix_agentd.conf)如下

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    Server=192.168.1.37
    ServerActive=192.168.1.37
    Hostname=Zabbix.server
    HostMetadataItem=system.uname
    Include=/etc/zabbix/zabbix_agentd.d/*.conf

       2.添加主机后,出现好多人都遇到的问题

                   

                问题详情:

                        邮件提示Zabbix agent on Zabbix.server  is unreachable for 5 minutes

                        查看zabbix_server.log,有以下错误:

                           2757:20170622:171009.199 cannot send list of active checks to "192.168.1.37": host [zabbix.server] not found

                            2751:20170622:171108.502 enabling Zabbix agent checks on host "zabbix.server": host became available

                       一直这样循环往复,导致报警邮件太多,从web界面看没有警告。

                问题分析:

                       从问题上来看,是主机在ping客户端时解析不了主机名

                解决办法:

               在/etc/hosts当中添加一条记录

                          192.168.1.37    zabbix.server

                      保存后问题解决了,在也没有那么多报警邮件。

  • 相关阅读:
    Smarty数据、模版创建指引
    做了个google工具栏的饭否按钮
    php程序调试(远程调试,firephp)
    Linux shell编程与Makefile的一些记录(等待更新)
    My MSSQL Tips
    Castle.ActiveRecord中Save与SaveAndFlush的性能差别
    Linux Basic Approach (My Notes)
    去青城后山玩了一天
    Infopath 2007 使用实践(占位)
    Delphi 6
  • 原文地址:https://www.cnblogs.com/xuefy/p/11346847.html
Copyright © 2011-2022 走看看