As an alternative to setting up manually or reusing an existing server for Zabbix, users may download a Zabbix appliance or a Zabbix appliance installation CD image.
Zabbix appliance and installation CD versions are based upon the following OS:
Zabbix appliance version | OS |
---|---|
4.4 | CentOS 8 (x86_64) |
Zabbix appliance installation CD can be used for instant deployment of Zabbix server (MySQL).
|<| |<| |-|
Zabbix appliance contains a Zabbix server (configured and running on MySQL) and a frontend.
Zabbix virtual appliance is available in the following formats:
To get started, boot the appliance and point a browser at the IP the appliance has received over DHCP.
DHCP must be enabled on the host.
To get the IP address from inside the virtual machine run:
To access Zabbix frontend, go to http://<host_ip> (for access from the host's browser bridged mode should be enabled in the VM network settings).
If the appliance fails to start up in Hyper-V, you may want to press Ctrl+Alt+F2
to switch tty sessions.
The appliance is based on CentOS 8. There are some changes applied to the base CentOS configuration.
Official Zabbix repository has been added to /etc/yum.repos.d:
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=http://repo.zabbix.com/zabbix/4.5/rhel/8/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
The appliance uses iptables firewall with predefined rules:
By default the appliance uses DHCP to obtain the IP address. To specify a static IP address:
Consult the official Red Hat documentation if needed.
By default the appliance uses UTC for the system clock. To change the time zone, copy the appropriate file from /usr/share/zoneinfo to /etc/localtime, for example:
Zabbix appliance setup has the following passwords and configuration changes:
System:
Zabbix frontend:
Database:
Database passwords are randomly generated during the installation process.
Root password is stored inside the /root/.my.cnf file. It is not required to input a password under the "root" account.
To change the database user password, changes have to be made in the following locations:
Separate users zabbix_srv
and zabbix_web
are defined for the server and the frontend respectively.
By default, access to the frontend is allowed from anywhere.
The frontend can be accessed at http://<host>.
This can be customised in /etc/nginx/conf.d/zabbix.conf. Nginx has to be restarted after modifying this file. To do so, log in using SSH as root user and execute:
By default, only the ports listed in the configuration changes above are open. To open additional ports, modify "/etc/sysconfig/iptables" file and reload firewall rules:
The Zabbix appliance packages may be upgraded. To do so, run:
Systemd services are available:
The images in vmdk format are usable directly in VMware Player, Server and Workstation products. For use in ESX, ESXi and vSphere they must be converted using VMware converter.
Replace /dev/sdc with your Flash/HDD disk device.