Get the App
SLTechnology News&Howtos  ›  Servers  › 

After installing zabbix, the page suddenly prompts: zabbix server is not running:

Shulou Source: shulou.com Published: 2022-06-02 18:56:57 09月22日 Update

After installing zabbix, the page suddenly prompts: zabbix server is not running: the information displayed may not be current

The following situations can lead to this error

Whether selinux is closed. Be sure to turn this off. Turning on selinux will cause a series of problems, and even the discovery function of zabbix will not work properly.

How to turn off SELinux:

Change the SELINUX= "" in the / etc/selinux/config file to disabled, and then restart.

If you do not want to restart the system, use the command setenforce 0

Note:

Setenforce 1 sets SELinux to enforcing mode

Setenforce 0 sets SELinux to permissive mode

Add selinux=0 to the startup parameters of lilo or grub, or you can turn off selinux

two。 Or check whether to turn off the fire prevention.

Systemctl status firewalld

3. Check the configuration file of zabbix again

[root@huyichi ~] # vim / etc/zabbix/zabbix_server.conf

Check whether the password of the database is set correctly

DBPassword=

Whether the service of 4.zabbix server is enabled correctly

Whether the server ip address in zabbix server's zabbix.conf.php configuration script is correct: change to zabbix_server 's ip as shown in the figure

Checked whether it was caused by the above problems one by one, and found that it was not caused by the above problems.

Finally, there was a new alarm on the page when I was about to give up.

Zabbix StartTrappers processes more than 75% busy

The details are as follows:

The number of trappers process instances.

Trappers accepts incoming connections from Zabbix senders, active agents, and active proxies.

At least one trapper process should be run to show the front-end server availability and view queues.

Locate the zabbix_server.conf configuration file and change it to: StartTrappers=20

And then

Systemctl restart zabbix_server

Systemctl restart httpd

Systemctl restart zabbix_agent

Refresh the page and both alarms disappear.

Tags: Page file question configuration initiative mode process service prompt series front end function parameter sender availability command address instance password situation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn Apple Xiaomi Linux