Zabbix appliance provides a way to instantly deploy Zabbix server and frontend, instead of setting them up manually or reusing an existing server for Zabbix.
The appliance is based on AlmaLinux 8 (x86_64) and contains a pre-configured Zabbix server running on MySQL and frontend running on Nginx web server.
This appliance is designed for evaluating Zabbix. Using it in serious production environments is discouraged.
Appliance images are available for download in the following formats:
Zabbix installation CD/DVD boot menu:
If not yet installed, install the virtualization software for booting the appliance image (for example, VirtualBox).
Download the appliance in the format supported by your virtualization software.
Check network settings to ensure that DHCP is enabled on the host machine.
Boot the appliance virtual machine from the downloaded image.
Configure virtual machine network settings to allow access from a browser on the host machine. This can be achieved by enabling Bridged mode.
Log in to the virtual machine using default system credentials.
To retrieve the IP address, run the following command on the virtual machine:
ip addr show
Open a browser on the host machine and point it to the IP address the appliance has received over DHCP.
Log in to Zabbix using default credentials and start monitoring.
This section describes frequently required default configuration settings along with available customization options.
After logging in, you can change default password in the user profile settings or create new users and delete the default one.
Passwords for all database users are randomly generated during the installation process. The following users are defined for the database:
Root:
/root/.my.cnf
file. It is not required to input a password under the root account.Zabbix server:
/etc/zabbix/zabbix\_server.conf
Zabbix frontend:
/etc/zabbix/web/zabbix.conf.php
To change a database user password, modify it in MySQL and the corresponding configuration file.
Zabbix frontend can be accessed at http://<virtual machine's IP>.
By default, access is allowed from anywhere. To limit the access, modify /etc/nginx/conf.d/zabbix.conf
. After saving the edited file, restart Nginx by logging in via SSH as root user and executing:
systemctl restart nginx
By default, the appliance uses DHCP to obtain the IP address. To set a static IP address:
nmcli connection modify eth0 ipv4.addresses 192.168.1.10/24 # Appliance IP address/CIDR prefix
nmcli connection modify eth0 ipv4.gateway 192.168.1.1 # Gateway IP address
nmcli connection modify eth0 ipv4.dns 8.8.8.8 # DNS server IP address
nmcli connection modify eth0 ipv4.method manual
systemctl restart network
Alternatively, you can open the file /etc/NetworkManager/system-connections/eth0.nmconnection
and add the following lines:
[ipv4]
address1=192.168.1.10/24,192.168.1.1
dns=8.8.8.8
method=manual
After saving the edited file, run the command systemctl restart network
.
To manage firewall settings, the appliance uses iptables with predefined rules:
To open additional ports, modify /etc/sysconfig/iptables
file and reload firewall rules:
systemctl reload iptables
Zabbix appliance uses zabbix-release package from the Zabbix repository. Repositories are configured in /etc/yum.repos.d/*
directory.
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:
cp /usr/share/zoneinfo/Europe/Riga /etc/localtime
Zabbix frontend time zone is set separately and can be changed in the frontend settings. The default time zone for Zabbix frontend is Europe/Riga.
/etc/zabbix
/var/log/zabbix
/usr/share/zabbix
/var/lib/zabbix
Systemd services are available. To see the list of Zabbix services, run the following command on the virtual machine:
systemctl list-units zabbix*
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 vCenter Converter (authentication required for download). If you use VMware vCenter Converter, you may encounter issues with the hybrid network adapter. In that case, you can try specifying the E1000 adapter during the conversion process. Alternatively, after the conversion is complete, you can delete the existing adapter and add an E1000 adapter.
To boot the image, run:
dd if=./zabbix_appliance_7.0.0.raw of=/dev/sdc bs=4k conv=fdatasync
Replace /dev/sdc
with your Flash/HDD disk device path.
If the appliance fails to start up in Hyper-V, try pressing Ctrl+Alt+F2 to switch a TTY session.