Centos6.x已有LNMP环境下编译安装Zabbix2.2

 

问题处理

zabbix_server  不能监听端口tcp  10051 ?

打开日志 cat /tmp/zabbix_server.log

1635:20140706:015834.413 [Z3001] connection to database ‘zabbix’ failed: [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
1635:20140706:015834.413 Database is down. Reconnecting in 10 seconds.

看来是mysql sock错误了。 找到 #DBSocket=/tmp/mysql.sock 去掉前面的#注释即可。

zabbix2.2.4 web中 语言没有中文可选?

1、服务器端找到 zabbix/include/ locales.inc.php 文件

2、修改 locales.inc.php内容为:’zh_CN’ => array(‘name’ => _(‘Chinese (zh_CN)’),        ‘display’ => true),

       默认是false,所以不显示Chinese(zh_CN)。保存退出。

打赏

3 评论

  1. ini_set(): Use of mbstring.internal_encoding is deprecated [dashboard.php:21 → require_once() → ZBase->run() → ZBase->initLocales() → init_mbstrings() → ini_set() in /usr/local/nginx/html/zabbix/include/locales.inc.php:25]安装之后登录提示这个是因为什么啊?zabbix_server.log上提示10532:20150421:022715.757 cannot send list of active checks to [127.0.0.1]: host [Zabbix server] not monitored10523:20150421:022759.507 enabling Zabbix agent checks on host “Zabbix server”: host became available10541:20150421:022843.523 item [Zabbix server:zabbix[process,ipmi poller,avg,busy]] became not supported: No “ipmi poller” processes started10541:20150421:022843.523 item [Zabbix server:zabbix[process,java poller,avg,busy]] became not supported: No “java poller” processes started10544:20150421:022848.531 item [Zabbix server:zabbix[process,node watcher,avg,busy]] became not supported: No “node watcher” processes started10544:20150421:022848.532 item [Zabbix server:zabbix[process,snmp trapper,avg,busy]] became not supported: No “snmp trapper” processes started10543:20150421:022853.533 item [Zabbix server:zabbix[process,vmware collector,avg,busy]] became not supported: No “vmware collector” processes started10541:20150421:022858.538 item [Zabbix server:zabbix[vmware,buffer,pfree]] became not supported: No “vmware collector” processes started至于zabbix_agentd.log上说没有检测啥的10591:20150421:022715.757 no active checks on server [127.0.0.1:10051]: host [Zabbix server] not monitored求大哥给分析分析,QQ505983701,新浪13693066544

      1. PHP是5.6的(应该是)那个启动成功了,我现在就是网页管理的时候会出现下面第一行和第二行的红色字体

发表评论

电子邮件地址不会被公开。 必填项已用*标注