zabbix 5.0
1. 启动Zabbix server和agent进程 启动Zabbix server和agent进程,并为它们设置开机自启
# systemctl restart zabbix-server zabbix-agent httpd rh-php72-php-fpm
# systemctl enable zabbix-server zabbix-agent httpd rh-php72-php-fpm
2.Official Zabbix 5.0 frontend packages use php-fpm. Update timezone in /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf
file. 去掉前面;
php_value[date.timezone] = Asia/ShangHai
3. Zabbix server 更改数据库密码
涉及到数据库配置信息的文件有2个,分别是 /etc/zabbix/zabbix_server.conf
、/etc/zabbix/web/zabbix.conf.php
4. Installing agent as Windows service
zabbix_agentd.exe --config <your_configuration_file> --install
zabbix_agentd.exe --config C:\soft\zabbix_agent\conf\zabbix_agentd.conf --install