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:debian_ubuntu

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:installation:install_from_packages:debian_ubuntu [2018/10/08 18:42]
sasha fixed repository configuration file name
manual:installation:install_from_packages:debian_ubuntu [2018/12/10 09:04] (current)
martins-v a proxy does not have a frontend
Line 59: Line 59:
 For Zabbix [[manual:​concepts:​server|server]] and [[manual:​concepts:​proxy|proxy]] daemons a database is required. It is not needed to run Zabbix [[manual:​concepts:​agent|agent]]. ​ For Zabbix [[manual:​concepts:​server|server]] and [[manual:​concepts:​proxy|proxy]] daemons a database is required. It is not needed to run Zabbix [[manual:​concepts:​agent|agent]]. ​
  
-<note warning>If Zabbix server and proxy are installed on the same host, their databases must be created with different names!</​note>​+<note warning>Separate databases are needed for Zabbix server and Zabbix ​proxy; they cannot use the same database. Therefore, if they are installed on the same host, their databases must be created with different names!</​note>​
  
 Create the database using the provided instructions for [[manual:​appendix:​install:​db_scripts#​mysql|MySQL]] or [[manual:​appendix:​install:​db_scripts#​postgresql|PostgreSQL]]. Create the database using the provided instructions for [[manual:​appendix:​install:​db_scripts#​mysql|MySQL]] or [[manual:​appendix:​install:​db_scripts#​postgresql|PostgreSQL]].
Line 86: Line 86:
 === Configure database for Zabbix server/​proxy === === Configure database for Zabbix server/​proxy ===
  
-Edit zabbix_server.conf ​or zabbix_proxy.conf to use the created database. For example:+Edit zabbix_server.conf ​(and zabbix_proxy.confto use their respective databases. For example:
  
   # vi /​etc/​zabbix/​zabbix_server.conf   # vi /​etc/​zabbix/​zabbix_server.conf
Line 129: Line 129:
  
 Now you are ready to proceed with [[manual/​installation/​install#​installing_frontend|frontend installation steps]] which will allow you to access your newly installed Zabbix. Now you are ready to proceed with [[manual/​installation/​install#​installing_frontend|frontend installation steps]] which will allow you to access your newly installed Zabbix.
 +
 +Note that a Zabbix proxy does not have a frontend; it communicates with Zabbix server only.
  
 ==== Agent installation ==== ==== Agent installation ====
Line 142: Line 144:
 ==== 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 148: Line 150:
   # apt install zabbix-java-gateway   # apt install zabbix-java-gateway
  
-Java gateway configuration may be tuned in the file: +Proceed to [[:​manual/​concepts/​java/​from_debian_ubuntu|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: +
- +
-  # systemctl enable zabbix-java-gateway +
- +
-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>​+