I installed Zabbix and its all looking good. I have an agent ad the server running and the UI.
and yet on the UI I see no data anbd instead a warning on the bottom of the page about s server not running and sure enough:
That's a puzzle. I'm guessing there's a misconfiguration at play. Or the server is running but not running, as in running as a systemd service but stuck on something and reporting to queries that it's stuck or not reporting when queried etc.
Code:
$ service zabbix-server status
● zabbix-server.service - Zabbix Server
Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-05-22 11:23:23 AEST; 1h 53min ago
Main PID: 2383661 (zabbix_server)
Tasks: 1 (limit: 38335)
Memory: 9.8M (peak: 10.5M)
CPU: 14.426s
CGroup: /system.slice/zabbix-server.service
└─2383661 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
May 22 11:23:23 bigfoot systemd[1]: Starting zabbix-server.service - Zabbix Server...
May 22 11:23:23 bigfoot systemd[1]: Started zabbix-server.service - Zabbix Server.
$ service zabbix-agent status
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-05-22 11:23:23 AEST; 2h 0min ago
Main PID: 2383647 (zabbix_agentd)
Tasks: 13 (limit: 38335)
Memory: 9.4M (peak: 10.1M)
CPU: 7.322s
CGroup: /system.slice/zabbix-agent.service
├─2383647 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
├─2383648 "/usr/sbin/zabbix_agentd: collector [idle 1 sec]"
├─2383649 "/usr/sbin/zabbix_agentd: listener #1 [waiting for connection]"
├─2383650 "/usr/sbin/zabbix_agentd: listener #2 [waiting for connection]"
├─2383651 "/usr/sbin/zabbix_agentd: listener #3 [waiting for connection]"
├─2383652 "/usr/sbin/zabbix_agentd: listener #4 [waiting for connection]"
├─2383653 "/usr/sbin/zabbix_agentd: listener #5 [waiting for connection]"
├─2383654 "/usr/sbin/zabbix_agentd: listener #6 [waiting for connection]"
├─2383655 "/usr/sbin/zabbix_agentd: listener #7 [waiting for connection]"
├─2383656 "/usr/sbin/zabbix_agentd: listener #8 [waiting for connection]"
├─2383657 "/usr/sbin/zabbix_agentd: listener #9 [waiting for connection]"
├─2383659 "/usr/sbin/zabbix_agentd: listener #10 [waiting for connection]"
└─2383660 "/usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]"
May 22 11:23:23 bigfoot systemd[1]: Starting zabbix-agent.service - Zabbix Agent...
May 22 11:23:23 bigfoot systemd[1]: Started zabbix-agent.service - Zabbix Agent.
That's a puzzle. I'm guessing there's a misconfiguration at play. Or the server is running but not running, as in running as a systemd service but stuck on something and reporting to queries that it's stuck or not reporting when queried etc.
your webserver user most probably cannot read your zabbix server logs and as many people do, those are completely different servers... so reading is impossible..
Comment