mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
Merge branch 'master' into bug/queue-trigger
This commit is contained in:
commit
75f1cd3ab5
@ -406,6 +406,7 @@ In Zabbix frontend go to `"Configuration"->"Templates"->"Import"`:
|
||||
![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.
|
||||
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.
|
||||
|
||||
#### 2.2. Add the template to your hosts
|
||||
Add template "Template App PHP-FPM" to the desired hosts.
|
||||
|
@ -1411,7 +1411,7 @@
|
||||
<tags/>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>{Template App PHP-FPM:php-fpm.listen_queue[{#POOLSOCKET}].diff()}=1</expression>
|
||||
<expression>{Template App PHP-FPM:php-fpm.listen_queue[{#POOLSOCKET}].last(#3)}>0</expression>
|
||||
<recovery_mode>0</recovery_mode>
|
||||
<recovery_expression/>
|
||||
<name>PHP-FPM uses queue on {HOST.NAME} pool {#POOLNAME}</name>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user