3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[add] missing info for Zabbix server

This commit is contained in:
Ramil Valitov 2020-01-18 01:02:11 +03:00
parent 0659b41962
commit 7f1621a72c
No known key found for this signature in database
GPG Key ID: 645768E8FD0E18C7

View File

@ -418,11 +418,16 @@ rm -rf /tmp/zabbix-php-fpm/
### 2. On Zabbix Server ### 2. On Zabbix Server
#### 2.1. Import Zabbix PHP-FPM template #### 2.1. Import Zabbix PHP-FPM template
In Zabbix frontend go to `"Configuration"->"Templates"->"Import"`: Download this project's archive to your computer (the release must be the same you selected when installing template archive at Zabbix agent):
![Zabbix template import interface](https://github.com/rvalitov/zabbix-php-fpm/raw/master/media/zabbix-import.jpg)
Upload a template file from the [archive](https://github.com/rvalitov/zabbix-php-fpm/archive/master.zip) that corresponds to your version of Zabbix server. For example, use file `/zabbix/zabbix_php_fpm_template_4.0.xml` for Zabbix server 4.0. If there's no version of the template that matches your version of Zabbix server, then try to use the nearest version of the template that is not higher than your version of Zabbix server. - To use a stable release, open the [latest release page](https://github.com/rvalitov/zabbix-php-fpm/releases/latest) and click on "Source code (zip)" button at the end of the page.
- To use a developement version, download [this archive](https://github.com/rvalitov/zabbix-php-fpm/archive/master.zip).
Extract the XML template file from the archive that corresponds to your version of Zabbix server.
For example, use file `/zabbix/zabbix_php_fpm_template_4.0.xml` for Zabbix server 4.0. If there's no version of the template that matches your version of Zabbix server, then try to use the nearest version of the template that is not higher than your version of Zabbix server.
For example, template version 4.0 also works for higher versions of Zabbix server, such as 4.2 and 4.4. But template version 4.0 will not work for Zabbix 3.x. For example, template version 4.0 also works for higher versions of Zabbix server, such as 4.2 and 4.4. But template version 4.0 will not work for Zabbix 3.x.
Upload the extracted file to your Zabbix server. To do so go to `"Configuration"->"Templates"->"Import"` in Zabbix frontend:
![Zabbix template import interface](https://github.com/rvalitov/zabbix-php-fpm/raw/master/media/zabbix-import.jpg)
#### 2.2. Add the template to your hosts #### 2.2. Add the template to your hosts
Add template "Template App PHP-FPM" to the desired hosts. Add template "Template App PHP-FPM" to the desired hosts.