zoukankan      html  css  js  c++  java
  • 03: zabbix报错:active check configuration update from....started to fail

    一台新机器添加zabbix_agentd后,配置文件都是对的,启动后发现报错:

    root@xxxx:~# tail -f /var/log/zabbix/zabbix_agentd.log
    14684:20190904:091617.523 Starting Zabbix Agent [SGH1VBOX09]. Zabbix 2.2.9 (revision 52686).
    14684:20190904:091617.523 using configuration file: /etc/zabbix/zabbix_agentd.conf
    14685:20190904:091617.524 agent #0 started [collector]
    14686:20190904:091617.525 agent #1 started [listener #1]
    14687:20190904:091617.525 agent #2 started [listener #2]
    14688:20190904:091617.525 agent #3 started [listener #3]
    14689:20190904:091617.526 agent #4 started [active checks #1]
    14690:20190904:091617.526 agent #5 started [active checks #2]
    14689:20190904:091620.526 active check configuration update from [1xx.xx.xx.xx:10051] started to fail (cannot connect to [[1xx.xx.xx.xx]:10051]: [4] Interrupted system call)

    首先ping zabbix server 的ip发现是可以ping通的, 之后去zabbix server端也能ping通 agentd 端IP。

    但是在server端用zabbix get 命令不能获取到数据。

    ------------------------------------------------------------------------------------

    其实log里面已经很明确的告诉我们,是不能连接到10051端口。 所以使用telnet 命令探测一下端口是否能通

    root@xxx:~# telnet 1xx.xx.xx.xx 10051
    Trying 1xx.xx.xx.xx...
    ^C
    root@xxx:~# telnet 1xx.xx.xx.xx 80
    Trying 1xx.xx.xx.xx...
    ^C
    发现端口根本不通,问题找到就好解决了,首先确认agentd端有没有配置防火墙规则,其次再去看server有没有配置规则。相应的找安全部门人员开通一下就好。

    运维
  • 相关阅读:
    仿苹果原生头部动画
    cookie VS sessionstorge VS localstorge
    require实现单页应用程序(SPA)
    物体position:absolute后设置left:50%发生的有趣小事
    C/JS_实现选择排序
    C/JS_实现冒泡排序
    C_求质数
    C/JS_二分法查找
    JS_高程6.面向对象的程序设计(2)创建对象_3 构造函数存在的问题
    CSS_常见布局
  • 原文地址:https://www.cnblogs.com/jim-xu/p/11457056.html
Copyright © 2011-2022 走看看