This repository provides you step by step guide how to deploy and make configuration of zabbix on CentOS 9 with VMWare support. Database is using in this script MariaDB-11.0.3.
All commands run as root
or sudo
user
-
Install epel repo
dnf -y install epel-release
-
Disable Zabbix packages provided by EPEL. Edit file
/etc/yum.repos.d/epel.repo
and add the following statement.[epel]
...
excludepkgs=zabbix*
-
Make script to run
chmod +x zabbix_install
-
Run script
./zabbix_install
-
Configure PHP for Zabbix frontend. Edit file
/etc/nginx/conf.d/zabbix.conf
uncomment and set 'listen' and 'server_name' directives.
# listen 8080;
# server_name example.com;
- Configure the database for Zabbix server. Edit file
/usr/local/etc/zabbix_server.conf
DBPassword=your_database_password
Comment out next lines:
StartVMwareCollectors=5
VMwareFrequency=60
VMwarePerfFrequency=60
VMwareCacheSize=32M
VMwareTimeout=120
- Run
zabbix_server