zoukankan      html  css  js  c++  java
  • Zabbix探索:Proxy没有回传任何数据

    因为Zabbix使用Puppet搭建的,实际上是通过脚本安装的,为了偷懒,将脚本都写一块去了,后来发现Proxy的配置和Zabbix的配置不同,又偷懒一次,复制了一下,但是为了调整脚本使用的便捷性,将一些内容参数化了,但是那些没有参数化的内容就出现问题了。

    配置其实很好配置,默认的Proxy配置文件,没有需要调整的话可以直接用。

    然后在Zabbix作为Master的Node上添加该Proxy,别搞错主动和被动的方式就行。

    但是今天加了一台设备测试模板,发现无论如何都没有数据回传?

    怎么回事呢,DebugLevel调整成2(最好默认就是2),查看了下日志:

    5608:20130917:233917.558 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbixadmin'@'localhost' (using password: YES)
    5608:20130917:233927.559 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbixadmin'@'localhost' (using password: YES)
    5608:20130917:233937.559 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbixadmin'@'localhost' (using password: YES)
    5608:20130917:233947.560 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbixadmin'@'localhost' (using password: YES)
    5608:20130917:233957.560 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbixadmin'@'localhost' (using password: YES)

    于是su成mysql账号测试了下,果然不行,后来发现是脚本中的mysql账户名写错了……

    然后先收回权限,重新赋予权限,重新启动下Proxy就OK了。

  • 相关阅读:
    1217 实验四 递归下降语法分析程序设计
    1118实验三有限自动机的构造与识别
    11.12评论
    C语言文法
    25-陈庆祥-词法分析
    0909我的看法
    文法定义评价
    1029 语言文法
    1022 词法分析程序
    0909 随说
  • 原文地址:https://www.cnblogs.com/rexkang/p/zabbix-explorer-proxy-sent-nothing-back.html
Copyright © 2011-2022 走看看