PDA

View Full Version : Frontend displays : "Zabbix server is running - No"


Blakkheim.GW
08-06-2010, 16:38
Hello,

The Zabbix web frontend displays "No" in front of "Zabbix server is running" since my server rebooted. The zabbix_server process runs fine though and data is collected as well.

I didn't change any parameters before rebooting the server. I can't see any error message concerning this problem in zabbix_server.log.

The frontend runs on the same server as the zabbix_server process. Version of Zabbix is 1.8.2.

Thanks for the help.

zab_monkey
11-06-2010, 05:58
In order for the Frontend to monitor the "Zabbix Server", the server it needs to have the Zabbix agent correctly configured and running. The server needs the client to be up and active, as that is what it uses to perform all the same checks that it would use to check any other host.

Cheers

Blakkheim.GW
11-06-2010, 08:57
Thanks for your answer,

Zabbix agent is up and running on the host and zabbix_server is collecting data from its agent.

According to my zabbix_agentd.conf :


Server=::1

# Server port for sending active checks

#ServerPort=10051

# Unique hostname. Required for active checks.

Hostname=myhostname

# Listen port. Default is 10050

#ListenPort=10050

# IP address to bind agent
# If missing, bind to all available IPs

ListenIP=::1


Some revelant entries from the netstat -tulnW command :


tcp6 0 0 ::1:10050 :::* LISTEN
tcp6 0 0 ::1:10051 :::* LISTEN


And some output from netstat -an | grep 10050 :


tcp6 0 0 ::1:10050 ::1:53624 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53625 TIME_WAIT
tcp6 0 0 ::1:53643 ::1:10050 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53207 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53228 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53154 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53465 TIME_WAIT
tcp6 0 0 ::1:10050 ::1:53256 TIME_WAIT
...
...


The same but with grep 10051 :


tcp6 0 0 ::1:10051 :::* LISTEN
tcp6 0 0 ::1:10051 ::1:55869 TIME_WAIT


According to this, it seems that the zabbix agent is up and running.

Thanks for your answers.

zab_monkey
11-06-2010, 09:24
Hey,

I believe the problem is that the Server=::1 needs to be the actual IP of your host. Its a common issue with some configs that the IPv4 127.0.0.1 or the IPv6 ::1 can be misinterpreted. Change it to the host IP, which if you are talking about monitoring the Zabbix server will be the same as the server, in the zabbix_agentd.conf, restart the agent and I dare say it should pick it up.

Also change anywhere else (Like ListenIP=::1) to the actual IP. Dont rely on localhost addresses.

Let me know how you go.

Cheers

Blakkheim.GW
11-06-2010, 10:48
I've tried changing all references to ::1 by the actual server IPv6 address in all Zabbix configuration files.

Furthermore, I've modified the conf/zabbix.conf.php to match the server IP address.

Same result : frontend always says that Zabbix server is not running. I don't understand why it worked during all these months (with loopback address) and suddenly stoped working after a server reboot.

Thanks.