afox123 发表于 2019-1-19 08:25:55

zabbix错误和解决办法

  #错误
  "You are not able to choose some of the languages, because locales for them are not installed on the web server."
  解决办法:
  原因是找不到语言包
  $ sudo dpkg-reconfigure locales#查看系统已经安装的语言包
  $ sudo vim /usr/share/zabbix/include/locales.inc.php   #找到源码文件
  在文件中找到函数"getLocales()"
  'en_GB' => array('name' => _('English (en_GB)'),      'display' => true),
  可以把你不需要的语言设置为false,有些版本默认不支持中文,可以找到'zh_CN'这一行把flase改为true
  最后保存文件,重启apache后问题解决
  

  #错误
  "cannot send list of active checks to []: host [] not found"
  解决办法:
  因为web端上被监控端的主机名和zabbix_agentd.conf中的Hostname名字不一样,改为一样的即可



页: [1]
查看完整版本: zabbix错误和解决办法