2019-08-13 10:32:59 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export >
<version > 4.2</version>
<date > 2019-08-13T08:28:09Z</date>
<groups >
<group >
<name > Templates/Applications</name>
</group>
</groups>
<templates >
<template >
<template > Template App PHP-FPM</template>
<name > Template App PHP-FPM</name>
<description > PHP-FPM Zabbix Template with Auto Discovery and Multiple Pools</description>
<groups >
<group >
<name > Templates/Applications</name>
</group>
</groups>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<items >
<item >
<name > Number of CPUs</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
<key > system.cpu.num[" online" ]</key>
<delay > 1m</delay>
<history > 1h</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > Number of active CPUs</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<master_item />
</item>
</items>
<discovery_rules >
<discovery_rule >
<name > PHP-FPM Pools Discovery</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.discover</key>
<delay > 2m</delay>
<status > 0</status>
<allowed_hosts />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<filter >
<evaltype > 0</evaltype>
<formula />
<conditions />
</filter>
<lifetime > 30d</lifetime>
<description />
<item_prototypes >
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Accepted Connections Per Second</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.accepted_conn[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The number of incoming requests per second that the pool has accepted; when a connection is accepted it is removed from the listen queue (displayed in real time).</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['accepted conn']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
<step >
<type > 10</type>
<params />
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Active Processes</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.active_processes[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The number of servers current processing a page - the minimum is 1 (so even on a fully idle server, the result will be not read 0).</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['active processes']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): CPU Average Utilization</name>
<type > 15</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.cpu[{#POOLNAME}]</key>
<delay > 1m</delay>
<history > 1h</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units > %</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params > last(proc.cpu.util[" php-fpm: pool {#POOLNAME}" ])/last(system.cpu.num[" online" ])</params>
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > CPU utilization used by the pool normalized by the number of cores.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item />
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Idle Processes</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.idle_processes[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The total number of idle processes.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['idle processes']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Listen Queue</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.listen_queue[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The current number of connections that have been initiated, but not yet accepted. If this value is non-zero it typically means that all the available server processes are currently busy, and there are no processes available to serve the next request. Raising pm.max_children (provided the server can handle it) should help keep this number low. This property follows from the fact that PHP-FPM listens via a socket (TCP or file based), and thus inherits some of the characteristics of sockets.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['listen queue']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Listen Queue Length</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.listen_queue_len[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The upper limit on the number of connections that will be queued. Once this limit is reached, subsequent connections will either be refused, or ignored. This value is set by the php-fpm per pool configuration option 'listen.backlog', which defaults to -1 (unlimited). However, this value is also limited by the system (sysctl) value 'net.core.somaxconn', which defaults to 128 on many Linux systems.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['listen queue len']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Max Active Processes</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.max_active_processes[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The highest value that 'active processes' has reached since the php-fpm server started. This value should not exceed pm.max_children.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['max active processes']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Max Children Reached</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.max_children_reached[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The number of times that pm.max_children has been reached since the php-fpm pool started (only applicable if the process manager is ondemand or dynamic).</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['max children reached']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
<step >
<type > 9</type>
<params />
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Max Listen Queue</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.max_listen_queue[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The maximum number of requests in the queue of pending connections since this FPM pool has started.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['max listen queue']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Process Manager</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.process_manager[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 0</trends>
<status > 0</status>
<value_type > 4</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The method used by the process manager to control the number of child processes (possible values: ondemand, dynamic or static) for this pool.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['process manager']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Queue Utilization</name>
<type > 15</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.queue[{#POOLSOCKET}]</key>
<delay > 1m</delay>
<history > 1h</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units > %</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params > last(php-fpm.listen_queue[{#POOLSOCKET}])/(last(php-fpm.listen_queue_len[{#POOLSOCKET}])+0.0001)</params>
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > Queue utilization.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item />
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Slow Requests</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.slow_requests[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The number of requests that exceeded your request_slowlog_timeout value.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['slow requests']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
<step >
<type > 9</type>
<params />
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Start Since</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.start_since[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units > s</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > How long has this pool been running.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['start since']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Start Time</name>
<type > 18</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.start_time[{#POOLSOCKET}]</key>
<delay > 0</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 3</value_type>
<allowed_hosts />
<units > unixtime</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > The time when this pool was started.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing >
<step >
<type > 12</type>
<params > $['start time']</params>
<error_handler > 0</error_handler>
<error_handler_params />
</step>
</preprocessing>
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item >
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
</master_item>
</item_prototype>
<item_prototype >
<name > PHP-FPM Pool {#POOLNAME} status</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
<key > php-fpm.status[{#POOLSOCKET},{$PHP_FPM_STATUS_URL}]</key>
<delay > 1m</delay>
<history > 1h</history>
<trends > 0</trends>
<status > 0</status>
<value_type > 4</value_type>
<allowed_hosts />
<units />
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description />
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes />
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes />
<master_item />
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): CPU Utilization</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
<key > proc.cpu.util[" php-fpm: pool {#POOLNAME}" ]</key>
<delay > 1m</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units > %</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description > CPU utilization used by the pool. The return value is based on the use of a single CPU core, in percent. For example, CPU utilization of the full use of two cores is 200%.</description>
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item />
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Memory Utilization</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
<key > proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,pmem]</key>
<delay > 1m</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units > %</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description />
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item />
</item_prototype>
<item_prototype >
<name > PHP-FPM ({#POOLNAME}): Memory Used</name>
<type > 0</type>
<snmp_community />
<snmp_oid />
2019-10-11 12:07:26 +02:00
<key > proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,rss]</key>
2019-08-13 10:32:59 +02:00
<delay > 1m</delay>
<history > 1d</history>
<trends > 365d</trends>
<status > 0</status>
<value_type > 0</value_type>
<allowed_hosts />
<units > B</units>
<snmpv3_contextname />
<snmpv3_securityname />
<snmpv3_securitylevel > 0</snmpv3_securitylevel>
<snmpv3_authprotocol > 0</snmpv3_authprotocol>
<snmpv3_authpassphrase />
<snmpv3_privprotocol > 0</snmpv3_privprotocol>
<snmpv3_privpassphrase />
<params />
<ipmi_sensor />
<authtype > 0</authtype>
<username />
<password />
<publickey />
<privatekey />
<port />
<description />
<inventory_link > 0</inventory_link>
<applications >
<application >
<name > PHP-FPM</name>
</application>
</applications>
<valuemap />
<logtimefmt />
<preprocessing />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<output_format > 0</output_format>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<application_prototypes >
<application_prototype >
<name > Pool {#POOLNAME}</name>
</application_prototype>
</application_prototypes>
<master_item />
</item_prototype>
</item_prototypes>
<trigger_prototypes >
<trigger_prototype >
<expression > {Template App PHP-FPM:php-fpm.accepted_conn[{#POOLSOCKET}].last(0)}> =500</expression>
<recovery_mode > 0</recovery_mode>
<recovery_expression />
<name > PHP-FPM: too many connections on {HOST.NAME} pool {#POOLNAME}</name>
<correlation_mode > 0</correlation_mode>
<correlation_tag />
<url />
<status > 0</status>
<priority > 4</priority>
<description > Too many active connections on pool {#POOLNAME}</description>
<type > 0</type>
<manual_close > 0</manual_close>
<dependencies />
<tags />
</trigger_prototype>
<trigger_prototype >
<expression > {Template App PHP-FPM:php-fpm.slow_requests[{#POOLSOCKET}].change()}> 0</expression>
<recovery_mode > 0</recovery_mode>
<recovery_expression />
<name > PHP-FPM detected slow request on {HOST.NAME} pool {#POOLNAME}</name>
<correlation_mode > 0</correlation_mode>
<correlation_tag />
<url />
<status > 0</status>
<priority > 2</priority>
<description />
<type > 0</type>
<manual_close > 0</manual_close>
<dependencies />
<tags />
</trigger_prototype>
<trigger_prototype >
<expression > {Template App PHP-FPM:php-fpm.process_manager[{#POOLSOCKET}].diff()}=1</expression>
<recovery_mode > 0</recovery_mode>
<recovery_expression />
<name > PHP-FPM manager changed on {HOST.NAME} pool {#POOLNAME}</name>
<correlation_mode > 0</correlation_mode>
<correlation_tag />
<url />
<status > 0</status>
<priority > 1</priority>
<description />
<type > 0</type>
<manual_close > 0</manual_close>
<dependencies />
<tags />
</trigger_prototype>
<trigger_prototype >
<expression > {Template App PHP-FPM:php-fpm.listen_queue[{#POOLSOCKET}].diff()}=1</expression>
<recovery_mode > 0</recovery_mode>
<recovery_expression />
<name > PHP-FPM uses queue on {HOST.NAME} pool {#POOLNAME}</name>
<correlation_mode > 0</correlation_mode>
<correlation_tag />
<url />
<status > 0</status>
<priority > 2</priority>
<description />
<type > 0</type>
<manual_close > 0</manual_close>
<dependencies />
<tags />
</trigger_prototype>
<trigger_prototype >
<expression > {Template App PHP-FPM:proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,pmem].last()}> =50</expression>
<recovery_mode > 0</recovery_mode>
<recovery_expression />
<name > PHP-FPM uses too much memory on {HOST.NAME} pool {#POOLNAME}</name>
<correlation_mode > 0</correlation_mode>
<correlation_tag />
<url />
<status > 0</status>
<priority > 3</priority>
<description />
<type > 0</type>
<manual_close > 0</manual_close>
<dependencies />
<tags />
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes >
<graph_prototype >
<name > Pool {#POOLNAME} Connections</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 0</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 > 0</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > 1A7C11</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.accepted_conn[{#POOLSOCKET}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 1</sortorder>
<drawtype > 0</drawtype>
<color > BF00FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.cpu[{#POOLNAME}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 2</sortorder>
<drawtype > 0</drawtype>
<color > 4000FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,pmem]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 3</sortorder>
<drawtype > 0</drawtype>
<color > FF0000</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.queue[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype >
<name > Pool {#POOLNAME} CPU</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 0</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 > 0</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > 1A7C11</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.cpu[{#POOLNAME}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 1</sortorder>
<drawtype > 1</drawtype>
<color > 4000FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.accepted_conn[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype >
<name > Pool {#POOLNAME} Max Children Reached</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 0</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 > 0</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > FF0000</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.max_children_reached[{#POOLSOCKET}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 1</sortorder>
<drawtype > 0</drawtype>
<color > 1A7C11</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.accepted_conn[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype >
<name > Pool {#POOLNAME} Memory</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 0</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 > 0</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > 00BFFF</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
2019-10-11 12:07:26 +02:00
<key > proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,rss]</key>
2019-08-13 10:32:59 +02:00
</item>
</graph_item>
<graph_item >
<sortorder > 1</sortorder>
<drawtype > 0</drawtype>
<color > BF00FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.cpu[{#POOLNAME}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 2</sortorder>
<drawtype > 0</drawtype>
<color > 4000FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > proc.mem[" php-fpm: pool {#POOLNAME}" ,,,,pmem]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 3</sortorder>
<drawtype > 0</drawtype>
<color > FF0000</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.queue[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype >
<name > Pool {#POOLNAME} Process</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 0</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 > 0</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > C5CAE9</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.active_processes[{#POOLSOCKET}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 1</sortorder>
<drawtype > 0</drawtype>
<color > 0040FF</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.idle_processes[{#POOLSOCKET}]</key>
</item>
</graph_item>
<graph_item >
<sortorder > 2</sortorder>
<drawtype > 0</drawtype>
<color > BF00FF</color>
<yaxisside > 1</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.accepted_conn[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype >
<name > Pool {#POOLNAME} Queue</name>
<width > 900</width>
<height > 200</height>
<yaxismin > 0.0000</yaxismin>
<yaxismax > 100.0000</yaxismax>
<show_work_period > 1</show_work_period>
<show_triggers > 1</show_triggers>
<type > 0</type>
<show_legend > 1</show_legend>
<show_3d > 0</show_3d>
<percent_left > 0.0000</percent_left>
<percent_right > 0.0000</percent_right>
<ymin_type_1 > 1</ymin_type_1>
<ymax_type_1 > 2</ymax_type_1>
<ymin_item_1 > 0</ymin_item_1>
<ymax_item_1 >
<host > Template App PHP-FPM</host>
<key > php-fpm.listen_queue_len[{#POOLSOCKET}]</key>
</ymax_item_1>
<graph_items >
<graph_item >
<sortorder > 0</sortorder>
<drawtype > 1</drawtype>
<color > F63100</color>
<yaxisside > 0</yaxisside>
<calc_fnc > 2</calc_fnc>
<type > 0</type>
<item >
<host > Template App PHP-FPM</host>
<key > php-fpm.listen_queue[{#POOLSOCKET}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<host_prototypes />
<jmx_endpoint />
<timeout > 3s</timeout>
<url />
<query_fields />
<posts />
<status_codes > 200</status_codes>
<follow_redirects > 1</follow_redirects>
<post_type > 0</post_type>
<http_proxy />
<headers />
<retrieve_mode > 0</retrieve_mode>
<request_method > 0</request_method>
<allow_traps > 0</allow_traps>
<ssl_cert_file />
<ssl_key_file />
<ssl_key_password />
<verify_peer > 0</verify_peer>
<verify_host > 0</verify_host>
<lld_macro_paths />
<preprocessing />
<master_item />
</discovery_rule>
</discovery_rules>
<httptests />
<macros >
<macro >
<macro > {$PHP_FPM_STATUS_URL}</macro>
<value > /php-fpm-status</value>
</macro>
</macros>
<templates />
<screens />
<tags />
</template>
</templates>
</zabbix_export>