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

[fix] listen queue trigger alarms only after 3 sequental checks

This commit is contained in:
Ramil Valitov 2020-01-04 01:36:53 +03:00 committed by GitHub
parent 54aa3e484c
commit 15b6a3e8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1411,7 +1411,7 @@
<tags/> <tags/>
</trigger_prototype> </trigger_prototype>
<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)}&gt;0</expression>
<recovery_mode>0</recovery_mode> <recovery_mode>0</recovery_mode>
<recovery_expression/> <recovery_expression/>
<name>PHP-FPM uses queue on {HOST.NAME} pool {#POOLNAME}</name> <name>PHP-FPM uses queue on {HOST.NAME} pool {#POOLNAME}</name>