manual:appliance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:appliance [2020/04/06 13:27]
yuriii [Overview] updated image formats
manual:appliance [2021/01/27 20:27] (current)
Line 3: Line 3:
 === Overview === === Overview ===
  
-As an alternative to setting up manually or reusing an existing server for Zabbix, users may [[http://​www.zabbix.com/​download_appliance|download]] a Zabbix appliance or Zabbix appliance installation CD image. ​+As an alternative to setting up manually or reusing an existing server for Zabbix, users may [[http://​www.zabbix.com/​download_appliance|download]] a Zabbix appliance or Zabbix appliance installation CD image. ​
  
 Zabbix appliance and installation CD versions are based upon the following OS:  Zabbix appliance and installation CD versions are based upon the following OS: 
 ^Zabbix appliance version^OS^ ^Zabbix appliance version^OS^
-|5.0.0|CentOS 8  |+|5.0.0|CentOS 8 (x86_64) ​ |
  
 Zabbix appliance installation CD can be used for instant deployment of Zabbix server (MySQL). 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.
  
 |{{:​manual:​installation_cd_boot_menu1.png?​600|}}| |{{:​manual:​installation_cd_boot_menu1.png?​600|}}|
Line 19: Line 23:
 Zabbix virtual appliance is available in the following formats: Zabbix virtual appliance is available in the following formats:
  
-  * vmx + vmdk (VMWare) +  * VMWare ​(.vmx
-  * ovf + vmdk (VirtualBox, VMWare+  * Open virtualization format ​(.ovf
-  * raw +  * Microsoft Hyper-V 2012 (.vhdx) 
-  * qcow2 +  * Microsoft Hyper-V 2008 (.vhd) 
-  * vhd +  * KVM, Parallels, QEMU, USB stick, VirtualBox, Xen (.raw) 
-  * vhdx+  * KVM, QEMU (.qcow2)
  
 To get started, boot the appliance and point a browser at the IP the appliance has received over DHCP.  To get started, boot the appliance and point a browser at the IP the appliance has received over DHCP. 
 +
 +<note important>​ DHCP must be enabled on the host. </​note>​
  
 To get the IP address from inside the virtual machine run: To get the IP address from inside the virtual machine run:
   ip addr show   ip addr show
  
-To access Zabbix frontend go to **<​nowiki>​http://<​host_ip></​nowiki>​** (for access from the host's browser bridged mode should be enabled in the VM network settings). ​+To access Zabbix frontendgo to **<​nowiki>​http://<​host_ip></​nowiki>​** (for access from the host's browser bridged mode should be enabled in the VM network settings). ​
  
 <note tip>If the appliance fails to start up in Hyper-V, you may want to press ''​Ctrl+Alt+F2''​ to switch tty sessions.</​note>​ <note tip>If the appliance fails to start up in Hyper-V, you may want to press ''​Ctrl+Alt+F2''​ to switch tty sessions.</​note>​
Line 43: Line 49:
   [zabbix]   [zabbix]
   name=Zabbix Official Repository - $basearch   name=Zabbix Official Repository - $basearch
-  baseurl=http://​repo.zabbix.com/​zabbix/​4.5/​rhel/​8/​$basearch/​+  baseurl=http://​repo.zabbix.com/​zabbix/​5.2/​rhel/​8/​$basearch/​
   enabled=1   enabled=1
   gpgcheck=1   gpgcheck=1
Line 74: Line 80:
   * Run **systemctl restart network** command.   * Run **systemctl restart network** command.
  
-[[https://​access.redhat.com/​documentation/​en-us/​red_hat_enterprise_linux/​6/​html/​deployment_guide/​s1-networkscripts-interfaces|Cosult official Red Hat documentation if needed.]]+Consult the official Red Hat [[https://​access.redhat.com/​documentation/​en-us/​red_hat_enterprise_linux/​6/​html/​deployment_guide/​s1-networkscripts-interfaces|documentation]] if needed.
 == - Changing time zone == == - Changing time zone ==
  
Line 86: Line 92:
 === - Zabbix configuration === === - Zabbix configuration ===
  
-Appliance ​Zabbix setup has the following passwords and other configuration changes:+Zabbix ​appliance ​setup has the following passwords and configuration changes:
  
 == - Credentials (login:​password) == == - Credentials (login:​password) ==
Line 93: Line 99:
   * root:zabbix   * root:zabbix
  
 +Zabbix frontend:
 +  * Admin:​zabbix
 Database: Database:
   * root:<​random>​   * root:<​random>​
   * zabbix:<​random>​   * zabbix:<​random>​
  
-<​note>​Database passwords are randomly generated during the installation process.\\ Root password is stored ​to /​root/​.my.cnf file, it is not required to input a password under the "​root"​ account.</​note>​ +<​note>​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.</​note>​
- +
-Zabbix frontend: +
-  * Admin:​zabbix+
  
-To change the database user password ​it has to be changed ​in the following locations:+To change the database user password, changes have to be made in the following locations:
   * MySQL;   * MySQL;
   * /​etc/​zabbix/​zabbix_server.conf;​   * /​etc/​zabbix/​zabbix_server.conf;​
   * /​etc/​zabbix/​web/​zabbix.conf.php.   * /​etc/​zabbix/​web/​zabbix.conf.php.
  
-<​note>​ Separate users ''​zabbix_srv''​ and ''​zabbix_web''​ are defined for server and frontend respectively. </​note>​+<​note>​ Separate users ''​zabbix_srv''​ and ''​zabbix_web''​ are defined for the server and the frontend respectively. </​note>​
  
 == - File locations == == - File locations ==
  
-  * Configuration files are placed ​in **/​etc/​zabbix**. +  * Configuration files are located ​in **/​etc/​zabbix**. 
-  * Zabbix server, proxy and agent logfiles are placed ​in **/​var/​log/​zabbix**. +  * Zabbix server, proxy and agent logfiles are located ​in **/​var/​log/​zabbix**. 
-  * Zabbix frontend is placed ​in **/​usr/​share/​zabbix**. +  * Zabbix frontend is located ​in **/​usr/​share/​zabbix**. 
-  * Home directory for user **zabbix** is **/​var/​lib/​zabbix**.+  * Home directory for the user **zabbix** is **/​var/​lib/​zabbix**.
  
 == - Changes to Zabbix configuration == == - Changes to Zabbix configuration ==
Line 123: Line 128:
 === - Frontend access === === - Frontend access ===
  
-Access ​to frontend ​by default ​is allowed from everywhere.+By default, access ​to the frontend is allowed from anywhere.
  
-The frontend can be accessed //​http:​%%//​%%<​host>//​.+The frontend can be accessed ​at //​http:​%%//​%%<​host>//​.
  
-This can be customised ​in **/​etc/​nginx/​conf.d/​zabbix.conf**. ​You have to restart nginx after modifying this file. To do so, log in using SSH as **root** user and execute:+This can be customized ​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:
  
   systemctl restart nginx   systemctl restart nginx
Line 133: Line 138:
 === - Firewall === === - Firewall ===
  
-By default, only the ports listed in changes are open. To open additional ports just modify "///​etc/​sysconfig/​iptables//"​ file and reload firewall rules:+By default, only the ports listed in the [[#​firewall1configuration| configuration ​changes]] above are open. To open additional portsmodify "///​etc/​sysconfig/​iptables//"​ file and reload firewall rules:
  
   systemctl reload iptables   systemctl reload iptables
Line 140: Line 145:
 === - Upgrading === === - Upgrading ===
  
-The appliance ​Zabbix packages may be upgraded. To do so, run:+The Zabbix ​appliance ​packages may be upgraded. To do so, run:
   dnf update zabbix*   dnf update zabbix*
  
Line 156: Line 161:
 == - HDD/flash image (raw) == == - HDD/flash image (raw) ==
  
-  dd if=./zabbix_appliance_4.0.0_x86_64.raw of=/dev/sdc bs=4k conv=fdatasync+  dd if=./zabbix_appliance_5.2.0.raw of=/dev/sdc bs=4k conv=fdatasync
   ​   ​
 Replace ///​dev/​sdc//​ with your Flash/HDD disk device. Replace ///​dev/​sdc//​ with your Flash/HDD disk device.