I'm installing zabbix2.4 in RHEL7. I've come to the following page, but when
I click "test connection", it always failed.


zabbix server IP:10.169.236.249
zabbix server hostname: localhost.localdomain
cat zabbix_server.conf | grep -v "#"
LogFile=/tmp/zabbix_server.log
LogFileSize=0
PidFile=/tmp/zabbix_server.pid
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=123456
DBSocket=/var/lib/mysql/mysql.sock
AlertScriptsPath=/usr/local/share/zabbix/alertscripts
ExternalScripts=/usr/local/share/zabbix/externalscripts
[root@localhost etc]# tail -f /tmp/zabbix_server.log
3199:20150208:210745.212 executing housekeeper
3199:20150208:210746.119 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.045987 sec, idle 1 hour(s)]
3199:20150208:220750.985 executing housekeeper
3199:20150208:220751.108 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.089040 sec, idle 1 hour(s)]
3199:20150208:230755.782 executing housekeeper
3199:20150208:230755.805 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001253 sec, idle 1 hour(s)]
3199:20150209:000800.559 executing housekeeper
3199:20150209:000800.581 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001230 sec, idle 1 hour(s)]
3199:20150209:010805.275 executing housekeeper
3199:20150209:010805.277 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001250 sec, idle 1 hour(s)]
[root@localhost etc]# netstat -nltp | grep zabbix
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 3244/zabbix_agentd
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 3182/zabbix_server
tcp6 0 0 :::10050 :::* LISTEN 3244/zabbix_agentd
tcp6 0 0 :::10051 :::* LISTEN 3182/zabbix_server
[root@localhost etc]#
I click "test connection", it always failed.


zabbix server IP:10.169.236.249
zabbix server hostname: localhost.localdomain
cat zabbix_server.conf | grep -v "#"
LogFile=/tmp/zabbix_server.log
LogFileSize=0
PidFile=/tmp/zabbix_server.pid
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=123456
DBSocket=/var/lib/mysql/mysql.sock
AlertScriptsPath=/usr/local/share/zabbix/alertscripts
ExternalScripts=/usr/local/share/zabbix/externalscripts
[root@localhost etc]# tail -f /tmp/zabbix_server.log
3199:20150208:210745.212 executing housekeeper
3199:20150208:210746.119 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.045987 sec, idle 1 hour(s)]
3199:20150208:220750.985 executing housekeeper
3199:20150208:220751.108 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.089040 sec, idle 1 hour(s)]
3199:20150208:230755.782 executing housekeeper
3199:20150208:230755.805 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001253 sec, idle 1 hour(s)]
3199:20150209:000800.559 executing housekeeper
3199:20150209:000800.581 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001230 sec, idle 1 hour(s)]
3199:20150209:010805.275 executing housekeeper
3199:20150209:010805.277 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 sessions, 0 alarms, 0 audit items in 0.001250 sec, idle 1 hour(s)]
[root@localhost etc]# netstat -nltp | grep zabbix
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 3244/zabbix_agentd
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 3182/zabbix_server
tcp6 0 0 :::10050 :::* LISTEN 3244/zabbix_agentd
tcp6 0 0 :::10051 :::* LISTEN 3182/zabbix_server
[root@localhost etc]#


Comment