diff options
Diffstat (limited to 'templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml')
-rw-r--r-- | templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml b/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml index 54bb20e15e3..d88bb83f86f 100644 --- a/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml +++ b/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml @@ -1,11 +1,13 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:41Z' groups: - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications templates: - + uuid: 1cbda0970410435684135884d0cb7090 template: 'PHP-FPM by Zabbix agent' name: 'PHP-FPM by Zabbix agent' description: | @@ -17,6 +19,7 @@ zabbix_export: name: Templates/Applications items: - + uuid: 9ae9e2a8003a48a7a482ef6d6ae9886c name: 'PHP-FPM: Accepted connections per second' type: DEPENDENT key: php-fpm.conn_accepted.rate @@ -40,6 +43,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: edc6b68194fe499facfb6b22425ff0d4 name: 'PHP-FPM: Listen queue' type: DEPENDENT key: php-fpm.listen_queue @@ -58,6 +62,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: aff9f072b06a4b56afb0e0f44b2c83a4 name: 'PHP-FPM: Listen queue, len' type: DEPENDENT key: php-fpm.listen_queue_len @@ -76,6 +81,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: de0a543bee5a46c88085b2aba2f4976f name: 'PHP-FPM: Listen queue, max' type: DEPENDENT key: php-fpm.listen_queue_max @@ -94,6 +100,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: dfabcd55c13449c29a48b70fdce77674 name: 'PHP-FPM: Queue usage' type: CALCULATED key: php-fpm.listen_queue_usage @@ -108,11 +115,13 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: 69c74d54afb34dc9a7a62ffbb3ba2d93 expression: 'min(/PHP-FPM by Zabbix agent/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}' name: 'PHP-FPM: Queue utilization is high (over {$PHP_FPM.QUEUE.WARN.MAX}% for 15m)' priority: WARNING description: 'The queue for this pool reached {$PHP_FPM.QUEUE.WARN.MAX}% of its maximum capacity. Items in queue represent the current number of connections that have been initiated on this pool, but not yet accepted.' - + uuid: e9d49669cf58492a9d5ef7ff997e1a40 name: 'PHP-FPM: Max children reached' type: DEPENDENT key: php-fpm.max_children @@ -135,6 +144,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 830e04be30f04e50ac0fa4783ecdc677 name: 'PHP-FPM: Pool name' type: DEPENDENT key: php-fpm.name @@ -159,6 +169,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 250f346008984a95829dba08d0f95838 name: 'PHP-FPM: Ping' type: DEPENDENT key: php-fpm.ping @@ -182,6 +193,7 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: 2b670b0b0cc24abcbbe28853a07ab537 expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.ping)=0 or nodata(/PHP-FPM by Zabbix agent/php-fpm.ping,3m)=1' name: 'PHP-FPM: Service is down' priority: HIGH @@ -191,6 +203,7 @@ zabbix_export: name: 'PHP-FPM: Process is not running' expression: 'last(/PHP-FPM by Zabbix agent/proc.num["{$PHP_FPM.PROCESS_NAME}"])=0' - + uuid: 8ebee5fc8c854a96b34ed743e3dd0154 name: 'PHP-FPM: Processes, active' type: DEPENDENT key: php-fpm.processes_active @@ -209,6 +222,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 11cfd028325242a58d61d9e83aee640b name: 'PHP-FPM: Processes, idle' type: DEPENDENT key: php-fpm.processes_idle @@ -227,6 +241,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 3858218f90684bb19cbe27fc9aedf404 name: 'PHP-FPM: Processes, max active' type: DEPENDENT key: php-fpm.processes_max_active @@ -245,6 +260,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: a79af6cf38ec45518055c64aa7f1f5a2 name: 'PHP-FPM: Processes, total' type: DEPENDENT key: php-fpm.processes_total @@ -263,6 +279,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 5ab12fc9f4ef49e5bbf7b2c6a840879e name: 'PHP-FPM: Process manager' type: DEPENDENT key: php-fpm.process_manager @@ -288,12 +305,14 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: b306e42643e44fd5a5154b7c6d410974 expression: '(last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#2))=1' name: 'PHP-FPM: Manager changed (new value received: {ITEM.VALUE})' priority: INFO description: 'PHP-FPM manager changed. Ack to close.' manual_close: 'YES' - + uuid: 4d17b6d89ac94d0880eac6962ebf7347 name: 'PHP-FPM: Slow requests' type: DEPENDENT key: php-fpm.slow_requests @@ -317,11 +336,13 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: b77035b96d33499eab161ca23d3dcdfa expression: 'min(/PHP-FPM by Zabbix agent/php-fpm.slow_requests,#3)>0' name: 'PHP-FPM: Detected slow requests' priority: WARNING description: 'PHP-FPM detected slow request. A slow request means that it took more time to execute than expected (defined in the configuration of your pool).' - + uuid: 4e4d6eda8fbb4dd2ba7f48fba5723473 name: 'PHP-FPM: Start time' type: DEPENDENT key: php-fpm.start_time @@ -341,6 +362,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: 2a19b306712a47999e70d3ec30e39b05 name: 'PHP-FPM: Uptime' type: DEPENDENT key: php-fpm.uptime @@ -361,6 +383,7 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: b6d7bfcea38744319277f78006490296 expression: 'nodata(/PHP-FPM by Zabbix agent/php-fpm.uptime,30m)=1' name: 'PHP-FPM: Failed to fetch info data (or no data for 30m)' priority: INFO @@ -371,12 +394,14 @@ zabbix_export: name: 'PHP-FPM: Process is not running' expression: 'last(/PHP-FPM by Zabbix agent/proc.num["{$PHP_FPM.PROCESS_NAME}"])=0' - + uuid: c6966a6c3ff0452ab4fd112c9299e624 expression: 'last(/PHP-FPM by Zabbix agent/php-fpm.uptime)<10m' name: 'PHP-FPM: has been restarted (uptime < 10m)' priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' - + uuid: b53e2e356317468f9d6d3272eb755650 name: 'PHP-FPM: Version' type: DEPENDENT key: php-fpm.version @@ -404,12 +429,14 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: 3d562a5b516b4349b4f5b64dc98169ea expression: '(last(/PHP-FPM by Zabbix agent/php-fpm.version,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.version,#2))=1 and length(last(/PHP-FPM by Zabbix agent/php-fpm.version))>0' name: 'PHP-FPM: Version has changed (new version: {ITEM.VALUE})' priority: INFO description: 'PHP-FPM version has changed. Ack to close.' manual_close: 'YES' - + uuid: a709eaae52ad4128a129c618db6525d2 name: 'PHP-FPM: CPU utilization' key: 'proc.cpu.util["{$PHP_FPM.PROCESS_NAME}"]' history: 7d @@ -421,6 +448,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: ef771994ec9e482babf872d9f867d500 name: 'PHP-FPM: Memory usage, %' key: 'proc.mem["{$PHP_FPM.PROCESS_NAME}",,,,pmem]' history: 7d @@ -432,6 +460,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: f55a5ef29f864d0a8c1af25df2372f7c name: 'PHP-FPM: Memory usage (rss)' key: 'proc.mem["{$PHP_FPM.PROCESS_NAME}",,,,rss]' history: 7d @@ -442,6 +471,7 @@ zabbix_export: tag: Application value: PHP-FPM - + uuid: ab8dc0d1ce344fe8ae6a22716a168fbd name: 'PHP-FPM: Number of processes running' key: 'proc.num["{$PHP_FPM.PROCESS_NAME}"]' history: 7d @@ -451,10 +481,12 @@ zabbix_export: value: PHP-FPM triggers: - + uuid: 21a03d0ada634602ae9089a2cf3b4d70 expression: 'last(/PHP-FPM by Zabbix agent/proc.num["{$PHP_FPM.PROCESS_NAME}"])=0' name: 'PHP-FPM: Process is not running' priority: HIGH - + uuid: c0c438492c63453496e83938745ffffc name: 'PHP-FPM: php-fpm_ping' key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.PING.PAGE}","{$PHP_FPM.PORT}"]' history: '0' @@ -465,6 +497,7 @@ zabbix_export: tag: Application value: 'Zabbix raw items' - + uuid: 09ec73291f21417ab8f19f56fda3331f name: 'PHP-FPM: Get status page' key: 'web.page.get["{$PHP_FPM.HOST}","{$PHP_FPM.STATUS.PAGE}?json","{$PHP_FPM.PORT}"]' history: '0' @@ -511,6 +544,7 @@ zabbix_export: description: 'The path of PHP-FPM status page.' valuemaps: - + uuid: 1caa1e7c41e14c7492ab8112f93ea068 name: 'Service state' mappings: - @@ -521,6 +555,7 @@ zabbix_export: newvalue: Up graphs: - + uuid: 36cd028132d94585877ad5726f0f9e3d name: 'PHP-FPM: Process' graph_items: - @@ -547,6 +582,7 @@ zabbix_export: host: 'PHP-FPM by Zabbix agent' key: php-fpm.processes_active - + uuid: 768a3e8aaa4741239887b55be5842f4a name: 'PHP-FPM: Queue' graph_items: - |