Zabbix Documentation 4.0

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:installation:install_from_packages:rhel_centos

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
Last revision Both sides next revision
manual:installation:install_from_packages:rhel_centos [2018/09/11 08:18]
dimir [Zabbix frontend configuration] add php value max_input_vars
manual:installation:install_from_packages:rhel_centos [2018/10/11 09:41]
martins-v removing moved content/linking to it
Line 5: Line 5:
 Official Zabbix packages are available for RHEL 7, CentOS 7 and Oracle Linux 7. In this documentation we will refer to all 3 using the term ''​RHEL''​. Official Zabbix packages are available for RHEL 7, CentOS 7 and Oracle Linux 7. In this documentation we will refer to all 3 using the term ''​RHEL''​.
  
-Some agent and proxy packages are available for [[https://​repo.zabbix.com/​zabbix/​3.5/​rhel/​6/​x86_64/​|RHEL 6]] and [[https://​repo.zabbix.com/​zabbix/​3.5/​rhel/​5/​x86_64|RHEL 5]] as well.+Some agent and proxy packages are available for [[https://​repo.zabbix.com/​zabbix/​4.0/​rhel/​6/​x86_64/​|RHEL 6]] and [[https://​repo.zabbix.com/​zabbix/​4.0/​rhel/​5/​x86_64|RHEL 5]] as well.
  
 ==== Adding Zabbix repository ==== ==== Adding Zabbix repository ====
Line 13: Line 13:
 RHEL 7: RHEL 7:
  
-  # rpm -ivh https://​repo.zabbix.com/​zabbix/​3.5/​rhel/​7/​x86_64/​zabbix-release-3.5-1.el7.noarch.rpm+  # rpm -ivh https://​repo.zabbix.com/​zabbix/​4.0/​rhel/​7/​x86_64/​zabbix-release-4.0-1.el7.noarch.rpm
  
 RHEL 6: RHEL 6:
  
-  # rpm -ivh https://​repo.zabbix.com/​zabbix/​3.5/​rhel/​6/​x86_64/​zabbix-release-3.5-1.el6.noarch.rpm+  # rpm -ivh https://​repo.zabbix.com/​zabbix/​4.0/​rhel/​6/​x86_64/​zabbix-release-4.0-1.el6.noarch.rpm
  
 RHEL 5: RHEL 5:
  
-  # rpm -ivh https://​repo.zabbix.com/​zabbix/​3.5/​rhel/​5/​x86_64/​zabbix-release-3.5-1.noarch.rpm+  # rpm -ivh https://​repo.zabbix.com/​zabbix/​4.0/​rhel/​5/​x86_64/​zabbix-release-4.0-1.noarch.rpm
  
 === Frontend installation prerequisites === === Frontend installation prerequisites ===
Line 178: Line 178:
 ==== Java gateway installation ==== ==== Java gateway installation ====
  
-It is required to install [[:​manual/​concepts/​java|Java gateway]] if you want to monitor JMX applications. Java gateway is lightweight and does not require a database.+It is required to install [[:​manual/​concepts/​java|Java gateway]] ​only if you want to monitor JMX applications. Java gateway is lightweight and does not require a database.
  
 Once the required [[#​adding_zabbix_repository|repository]] is added, you can install Zabbix Java gateway by running: Once the required [[#​adding_zabbix_repository|repository]] is added, you can install Zabbix Java gateway by running:
Line 184: Line 184:
   # yum install zabbix-java-gateway   # yum install zabbix-java-gateway
  
-Configuration parameters of Zabbix Java gateway may be tuned in the file: +Proceed to [[:​manual/​concepts/​java/​from_rhel_centos|setup]] for more details ​on configuring ​and running ​Java gateway.
- +
-  /​etc/​zabbix/​zabbix_java_gateway.conf +
- +
-For more details, see Zabbix Java gateway configuration [[:​manual:​appendix:​config:​zabbix_java|parameters]]. +
- +
-To start Zabbix Java gateway: +
- +
-  # service zabbix-java-gateway restart +
- +
-<note important>​Note that Zabbix server ​[[:​manual/​concepts/​java#​configuring_server_for_use_with_java_gateway|must be configured]] to work with Java gateway.</​note>​ +
- +
-To automatically start Zabbix Java gateway ​on boot: +
- +
-RHEL 7 and later: +
-  # systemctl enable zabbix-java-gateway +
- +
-RHEL prior to 7: +
-  # chkconfig --level 12345 zabbix-java-gateway on +
- +
-Zabbix ​Java gateway ​log file is: +
- +
-  /​var/​log/​zabbix/​zabbix_java_gateway.log +
- +
-If you like to increase the logging, edit the file: +
- +
-  /​etc/​zabbix/​zabbix_java_gateway_logback.xml +
- +
-and change ''​level=%%"​%%info%%"​%%''​ to %%"​%%debug%%"​%% or even %%"​%%trace%%"​%% (for deep troubleshooting):​ +
- +
-  <​configuration scan="​true"​ scanPeriod="​15 seconds">​ +
-  [...] +
-        <root level="​info">​ +
-                <​appender-ref ref="​FILE"​ /> +
-        </​root>​ +
-   +
-  </​configuration>​ +