Zabbix Appliance (Zabbix Documentation 5.0)
Zabbix Appliance (Zabbix Documentation 5.0)
Zabbix Appliance (Zabbix Documentation 5.0)
0]
6. Zabbix appliance
Overview
As an alternative to setting up manually or reusing an existing server for Zabbix, users may download
[https://www.zabbix.com /download_appliance] a Zabbix appliance or a Zabbix appliance installation CD image.
Zabbix appliance and installation CD versions are based upon the following OS:
Zabbix appliance installation CD can be used for instant deployment of Zabbix server (MySQL).
System requirements:
RAM: 1.5 GB
Disk space: at least 8 GB should be allocated for the virtual machine.
Zabbix appliance contains a Zabbix server (configured and running on MySQL) and a frontend.
https://www.zabbix.com/documentation/current/manual/appliance 1/4
15/07/2020 6. Zabbix appliance [Zabbix Documentation 5.0]
VMWare (.vmx)
Open virtualization format (.ovf)
Microsoft Hyper-V 2012 (.vhdx)
Microsoft Hyper-V 2008 (.vhd)
KVM, Parallels, QEMU, USB stick, VirtualBox, Xen (.raw)
KVM, QEMU (.qcow2)
To get started, boot the appliance and point a browser at the IP the appliance has received over DHCP.
ip addr show
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.
1.1 Repositories
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/8/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
1.2 Firewall
By default the appliance uses DHCP to obtain the IP address. To specify a static IP address:
https://www.zabbix.com/documentation/current/manual/appliance 2/4
15/07/2020 6. Zabbix appliance [Zabbix Documentation 5.0]
Consult the official Red Hat documentation [https://access.redhat.com /docum entation/en-
us/red_hat_enterprise_linux/6/htm l/deploym ent_guide/s1-networkscripts-interfaces] 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:
cp /usr/share/zoneinfo/Europe/Riga /etc/localtime
2 Zabbix configuration
Zabbix appliance setup has the following passwords and configuration changes:
System:
root:zabbix
Zabbix frontend:
Admin:zabbix
Database:
root:<random>
zabbix:<random>
To change the database user password, changes have to be made in the following locations:
MySQL;
/etc/zabbix/zabbix_server.conf;
/etc/zabbix/web/zabbix.conf.php.
Separate users zabbix_srv and zabbix_web are defined for the server and the frontend respectively.
3 Frontend access
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:
https://www.zabbix.com/documentation/current/manual/appliance 3/4
15/07/2020 6. Zabbix appliance [Zabbix Documentation 5.0]
4 Firewall
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:
5 Upgrading
6 System Services
7 Format-specific notes
7.1 VM ware
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 [https://www.vm ware.com /products/converter/] .
https://www.zabbix.com/documentation/current/manual/appliance 4/4