diff options
Diffstat (limited to 'templates/app/haproxy_http/template_app_haproxy_http.yaml')
-rw-r--r-- | templates/app/haproxy_http/template_app_haproxy_http.yaml | 122 |
1 files changed, 121 insertions, 1 deletions
diff --git a/templates/app/haproxy_http/template_app_haproxy_http.yaml b/templates/app/haproxy_http/template_app_haproxy_http.yaml index 0cd67d1b732..77d9c6b7b96 100644 --- a/templates/app/haproxy_http/template_app_haproxy_http.yaml +++ b/templates/app/haproxy_http/template_app_haproxy_http.yaml @@ -1,11 +1,13 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:30Z' groups: - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications templates: - + uuid: 948d046cb2894e5c8d07767a518cc1a9 template: 'HAProxy by HTTP' name: 'HAProxy by HTTP' description: | @@ -28,6 +30,7 @@ zabbix_export: name: Templates/Applications items: - + uuid: 93a0ea1e5b0145b5bd2dcdb698d367c2 name: 'HAProxy: Get stats' type: HTTP_AGENT key: haproxy.get @@ -56,6 +59,7 @@ zabbix_export: tag: Application value: 'Zabbix raw items' - + uuid: 123c03c715494faea6b1d4f8b8fa564d name: 'HAProxy: Get stats page' type: HTTP_AGENT key: haproxy.get_html @@ -72,6 +76,7 @@ zabbix_export: tag: Application value: 'Zabbix raw items' - + uuid: 06a33ebaed3148889c19eba2de859d70 name: 'HAProxy: Uptime' type: DEPENDENT key: haproxy.uptime @@ -99,12 +104,14 @@ zabbix_export: value: HAProxy triggers: - + uuid: ff606f3c571340389562fabc9e814463 expression: 'last(/HAProxy by HTTP/haproxy.uptime)<10m' name: 'HAProxy: has been restarted (uptime < 10m)' priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' - + uuid: a2cd747feaaf4c278972ac7adbd9015a name: 'HAProxy: Version' type: DEPENDENT key: haproxy.version @@ -131,12 +138,14 @@ zabbix_export: value: HAProxy triggers: - + uuid: bdcb443471fc4fbdb48ccc212eec314e expression: '(last(/HAProxy by HTTP/haproxy.version,#1)<>last(/HAProxy by HTTP/haproxy.version,#2))=1 and length(last(/HAProxy by HTTP/haproxy.version))>0' name: 'HAProxy: Version has changed (new version: {ITEM.VALUE})' priority: INFO description: 'HAProxy version has changed. Ack to close.' manual_close: 'YES' - + uuid: 6f9c22a840764181be9cf98609e7f691 name: 'HAProxy: Service response time' type: SIMPLE key: 'net.tcp.service.perf["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"]' @@ -149,6 +158,7 @@ zabbix_export: value: HAProxy triggers: - + uuid: 2c8cd2848bc74e968907aabade711476 expression: 'min(/HAProxy by HTTP/net.tcp.service.perf["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"],5m)>{$HAPROXY.RESPONSE_TIME.MAX.WARN}' name: 'HAProxy: Service response time is too high (over {$HAPROXY.RESPONSE_TIME.MAX.WARN} for 5m)' priority: WARNING @@ -158,6 +168,7 @@ zabbix_export: name: 'HAProxy: Service is down' expression: 'last(/HAProxy by HTTP/net.tcp.service["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"])=0' - + uuid: 68cb52357d7443d79373df3890ed175f name: 'HAProxy: Service status' type: SIMPLE key: 'net.tcp.service["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"]' @@ -175,12 +186,14 @@ zabbix_export: value: HAProxy triggers: - + uuid: b346943ac4d04a96bcef42f3c43fc555 expression: 'last(/HAProxy by HTTP/net.tcp.service["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"])=0' name: 'HAProxy: Service is down' priority: AVERAGE manual_close: 'YES' discovery_rules: - + uuid: 7b4ab1338cdf4e499c1fdea4c886ae9a name: 'Backend discovery' type: DEPENDENT key: haproxy.backend.discovery @@ -199,6 +212,7 @@ zabbix_export: description: 'Discovery backends' item_prototypes: - + uuid: 59eeafe66fe34334a81d736f62b88ec0 name: 'HAProxy Backend {#PXNAME}: Responses denied per second' type: DEPENDENT key: 'haproxy.backend.dresp.rate[{#PXNAME}:{#SVNAME}]' @@ -221,6 +235,7 @@ zabbix_export: tag: Application value: 'HAProxy backend {#PXNAME}' - + uuid: e885cb2b53a941cd932211c4ccf334f6 name: 'HAProxy Backend {#PXNAME}: Errors connection per second' type: DEPENDENT key: 'haproxy.backend.econ.rate[{#PXNAME}:{#SVNAME}]' @@ -243,6 +258,7 @@ zabbix_export: tag: Application value: 'HAProxy backend {#PXNAME}' - + uuid: c42f04d1a00c4d4fa96705746cb32631 name: 'HAProxy Backend {#PXNAME}: Response errors per second' type: DEPENDENT key: 'haproxy.backend.eresp.rate[{#PXNAME}:{#SVNAME}]' @@ -266,11 +282,13 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' trigger_prototypes: - + uuid: e3f12b91d1614ceb8b06bc7397a2375f expression: 'min(/HAProxy by HTTP/haproxy.backend.eresp.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_ERESP.MAX.WARN}' name: 'HAProxy backend {#PXNAME}: Number of responses with error is more than {$HAPROXY.BACK_ERESP.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests on backend, whose responses yielded an error, is more than {$HAPROXY.BACK_ERESP.MAX.WARN}.' - + uuid: 7985131c621d49419dfe5bcfecb675f2 name: 'HAProxy Backend {#PXNAME}: Unassigned requests' type: DEPENDENT key: 'haproxy.backend.qcur[{#PXNAME}:{#SVNAME}]' @@ -290,11 +308,13 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' trigger_prototypes: - + uuid: 77c3d4f219b14317b443fb72d82a913b expression: 'min(/HAProxy by HTTP/haproxy.backend.qcur[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_QCUR.MAX.WARN}' name: 'HAProxy backend {#PXNAME}: Current number of requests unassigned in queue is more than {$HAPROXY.BACK_QCUR.MAX.WARN} for 5m' priority: WARNING description: 'Current number of requests on backend unassigned in queue is more than {$HAPROXY.BACK_QCUR.MAX.WARN}.' - + uuid: 1592ee4ff7b2448a9e044a0ad7904693 name: 'HAProxy Backend {#PXNAME}: Time in queue' type: DEPENDENT key: 'haproxy.backend.qtime[{#PXNAME}:{#SVNAME}]' @@ -320,11 +340,13 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' trigger_prototypes: - + uuid: 04c1f9b06ffc47c9bcec8925bae62999 expression: 'min(/HAProxy by HTTP/haproxy.backend.qtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_QTIME.MAX.WARN}' name: 'HAProxy backend {#PXNAME}: Average time spent in queue is more than {$HAPROXY.BACK_QTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average time spent in queue (in ms) for the last 1,024 requests is more than {$HAPROXY.BACK_QTIME.MAX.WARN}.' - + uuid: 5ddd3cd8af904faaa69f34df442c9717 name: 'HAProxy Backend {#PXNAME}: Responses time' type: DEPENDENT key: 'haproxy.backend.rtime[{#PXNAME}:{#SVNAME}]' @@ -350,11 +372,13 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' trigger_prototypes: - + uuid: 5f2710cd8bd147339f01409564cce888 expression: 'min(/HAProxy by HTTP/haproxy.backend.rtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_RTIME.MAX.WARN}' name: 'HAProxy backend {#PXNAME}: Average response time is more than {$HAPROXY.BACK_RTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average backend response time (in ms) for the last 1,024 requests is more than {$HAPROXY.BACK_RTIME.MAX.WARN}.' - + uuid: 16bb7ee405a84bb4865c46fdf996511f name: 'HAProxy Backend {#PXNAME}: Status' type: DEPENDENT key: 'haproxy.backend.status[{#PXNAME}:{#SVNAME}]' @@ -383,11 +407,13 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' trigger_prototypes: - + uuid: 10f7c2ba001c467a9dab6e7bba38d18f expression: 'max(/HAProxy by HTTP/haproxy.backend.status[{#PXNAME}:{#SVNAME}],#5)=0' name: 'HAProxy backend {#PXNAME}: Server is DOWN' priority: AVERAGE description: 'Backend is not available.' - + uuid: 00d3038c7df34512ae39ba1051712674 name: 'HAProxy Backend {#PXNAME}: Redispatched requests per second' type: DEPENDENT key: 'haproxy.backend.wredis.rate[{#PXNAME}:{#SVNAME}]' @@ -410,6 +436,7 @@ zabbix_export: tag: Application value: 'HAProxy backend {#PXNAME}' - + uuid: e0eafe2c4d0d40e492822e43f6cf108e name: 'HAProxy Backend {#PXNAME}: Retried connections per second' type: DEPENDENT key: 'haproxy.backend.wretr.rate[{#PXNAME}:{#SVNAME}]' @@ -433,6 +460,7 @@ zabbix_export: value: 'HAProxy backend {#PXNAME}' graph_prototypes: - + uuid: 2160a789b142498cb2d3e401ee992edb name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' graph_items: - @@ -459,6 +487,7 @@ zabbix_export: lld_macro: '{#SVNAME}' path: $.svname - + uuid: 9c91c72225a540e28ab7f1d7a1ea6906 name: 'TCP Backend discovery' type: DEPENDENT key: haproxy.backend_tcp.discovery @@ -477,6 +506,7 @@ zabbix_export: description: 'Discovery TCP backends' item_prototypes: - + uuid: bcf04e09119b48a68be080f97fde4ba5 name: 'HAProxy TCP Backend {#PXNAME}: Responses denied per second' type: DEPENDENT key: 'haproxy.backend_tcp.dresp.rate[{#PXNAME}:{#SVNAME}]' @@ -499,6 +529,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Backend {#PXNAME}' - + uuid: a2e66ff1b8214cde92b5be4c34d2cf22 name: 'HAProxy TCP Backend {#PXNAME}: Errors connection per second' type: DEPENDENT key: 'haproxy.backend_tcp.econ.rate[{#PXNAME}:{#SVNAME}]' @@ -521,6 +552,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Backend {#PXNAME}' - + uuid: 7877d2639063447fbb9c672e8c6aaad4 name: 'HAProxy TCP Backend {#PXNAME}: Response errors per second' type: DEPENDENT key: 'haproxy.backend_tcp.eresp.rate[{#PXNAME}:{#SVNAME}]' @@ -544,11 +576,13 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' trigger_prototypes: - + uuid: bca2ede1a3924b0291cbd42d66f7048b expression: 'min(/HAProxy by HTTP/haproxy.backend_tcp.eresp.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_ERESP.MAX.WARN}' name: 'HAProxy TCP Backend {#PXNAME}: Number of responses with error is more than {$HAPROXY.BACK_ERESP.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests on backend, whose responses yielded an error, is more than {$HAPROXY.BACK_ERESP.MAX.WARN}.' - + uuid: f7e7169b7ccd4dc682469d080a3b22bb name: 'HAProxy TCP Backend {#PXNAME}: Unassigned requests' type: DEPENDENT key: 'haproxy.backend_tcp.qcur[{#PXNAME}:{#SVNAME}]' @@ -568,11 +602,13 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' trigger_prototypes: - + uuid: 2d2913a8be034aa1bbceead3e740942d expression: 'min(/HAProxy by HTTP/haproxy.backend_tcp.qcur[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_QCUR.MAX.WARN}' name: 'HAProxy TCP Backend {#PXNAME}: Current number of requests unassigned in queue is more than {$HAPROXY.BACK_QCUR.MAX.WARN} for 5m' priority: WARNING description: 'Current number of requests on backend unassigned in queue is more than {$HAPROXY.BACK_QCUR.MAX.WARN}.' - + uuid: a2b0af500b004054b8bd9542e32edb8e name: 'HAProxy TCP Backend {#PXNAME}: Time in queue' type: DEPENDENT key: 'haproxy.backend_tcp.qtime[{#PXNAME}:{#SVNAME}]' @@ -598,11 +634,13 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' trigger_prototypes: - + uuid: d54e75bed4064307b34f33fc468f458b expression: 'min(/HAProxy by HTTP/haproxy.backend_tcp.qtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_QTIME.MAX.WARN}' name: 'HAProxy TCP Backend {#PXNAME}: Average time spent in queue is more than {$HAPROXY.BACK_QTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average time spent in queue (in ms) for the last 1,024 requests is more than {$HAPROXY.BACK_QTIME.MAX.WARN}.' - + uuid: 02d85167f9384cccb91feacb0829c666 name: 'HAProxy TCP Backend {#PXNAME}: Responses time' type: DEPENDENT key: 'haproxy.backend_tcp.rtime[{#PXNAME}:{#SVNAME}]' @@ -628,11 +666,13 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' trigger_prototypes: - + uuid: f993fc8310274101b5b3742de17a38bb expression: 'min(/HAProxy by HTTP/haproxy.backend_tcp.rtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.BACK_RTIME.MAX.WARN}' name: 'HAProxy TCP Backend {#PXNAME}: Average response time is more than {$HAPROXY.BACK_RTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average backend response time (in ms) for the last 1,024 requests is more than {$HAPROXY.BACK_RTIME.MAX.WARN}.' - + uuid: e2bcebf3af5947c2ad95c03206d33b68 name: 'HAProxy TCP Backend {#PXNAME}: Status' type: DEPENDENT key: 'haproxy.backend_tcp.status[{#PXNAME}:{#SVNAME}]' @@ -661,11 +701,13 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' trigger_prototypes: - + uuid: f613ddf6ba25493da923b334bcf9f6ab expression: 'max(/HAProxy by HTTP/haproxy.backend_tcp.status[{#PXNAME}:{#SVNAME}],#5)=0' name: 'HAProxy TCP Backend {#PXNAME}: Server is DOWN' priority: AVERAGE description: 'Backend is not available.' - + uuid: 466436ea1f6e44e0ad06eea2e3003cca name: 'HAProxy TCP Backend {#PXNAME}: Redispatched requests per second' type: DEPENDENT key: 'haproxy.backend_tcp.wredis.rate[{#PXNAME}:{#SVNAME}]' @@ -688,6 +730,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Backend {#PXNAME}' - + uuid: 2537375cc5814f43bb02a2cfad80da66 name: 'HAProxy TCP Backend {#PXNAME}: Retried connections per second' type: DEPENDENT key: 'haproxy.backend_tcp.wretr.rate[{#PXNAME}:{#SVNAME}]' @@ -711,6 +754,7 @@ zabbix_export: value: 'HAProxy TCP Backend {#PXNAME}' graph_prototypes: - + uuid: 797ee11ef8584ec8816ffede947530d0 name: 'HAProxy: TCP Backend {#PXNAME} Redispatched requests and retried connections per second' graph_items: - @@ -737,6 +781,7 @@ zabbix_export: lld_macro: '{#SVNAME}' path: $.svname - + uuid: 37629de766fd4c61a1618f9d1f1e2eab name: 'FRONTEND discovery' type: DEPENDENT key: haproxy.frontend.discovery @@ -755,6 +800,7 @@ zabbix_export: description: 'Discovery frontends' item_prototypes: - + uuid: 6dac4d4e912b4f8fb7def6bab98d8dc4 name: 'HAProxy Frontend {#PXNAME}: Incoming traffic' type: DEPENDENT key: 'haproxy.frontend.bin[{#PXNAME}:{#SVNAME}]' @@ -783,6 +829,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 5550e3842d00486999c822b0d514b78e name: 'HAProxy Frontend {#PXNAME}: Outgoing traffic' type: DEPENDENT key: 'haproxy.frontend.bout[{#PXNAME}:{#SVNAME}]' @@ -810,6 +857,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 819b1559cf294958ab03cae8663eb7e3 name: 'HAProxy Frontend {#PXNAME}: Denied requests per second' type: DEPENDENT key: 'haproxy.frontend.dreq.rate[{#PXNAME}:{#SVNAME}]' @@ -833,11 +881,13 @@ zabbix_export: value: 'HAProxy frontend {#PXNAME}' trigger_prototypes: - + uuid: 3be9ac119ee64733a74dfc2ae3ac3202 expression: 'min(/HAProxy by HTTP/haproxy.frontend.dreq.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_DREQ.MAX.WARN}' name: 'HAProxy frontend {#PXNAME}: Number of requests denied is more than {$HAPROXY.FRONT_DREQ.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests denied due to security concerns (ACL-restricted) is more than {$HAPROXY.FRONT_DREQ.MAX.WARN}.' - + uuid: 0b2a1b9e1c9045519e4ac52d5d83e86b name: 'HAProxy Frontend {#PXNAME}: Request errors per second' type: DEPENDENT key: 'haproxy.frontend.ereq.rate[{#PXNAME}:{#SVNAME}]' @@ -861,11 +911,13 @@ zabbix_export: value: 'HAProxy frontend {#PXNAME}' trigger_prototypes: - + uuid: 0bef558beac14d02957ed9f38bef762b expression: 'min(/HAProxy by HTTP/haproxy.frontend.ereq.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_EREQ.MAX.WARN}' name: 'HAProxy frontend {#PXNAME}: Number of request errors is more than {$HAPROXY.FRONT_EREQ.MAX.WARN} for 5m' priority: WARNING description: 'Number of request errors is more than {$HAPROXY.FRONT_EREQ.MAX.WARN}.' - + uuid: c287463b994c40caaaeb195a4dca5d37 name: 'HAProxy Frontend {#PXNAME}: Number of responses with codes 1xx per second' type: DEPENDENT key: 'haproxy.frontend.hrsp_1xx.rate[{#PXNAME}:{#SVNAME}]' @@ -888,6 +940,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 41cd2084595d482ea204f9edc62a985a name: 'HAProxy Frontend {#PXNAME}: Number of responses with codes 2xx per second' type: DEPENDENT key: 'haproxy.frontend.hrsp_2xx.rate[{#PXNAME}:{#SVNAME}]' @@ -910,6 +963,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: f1ae1b8f477449c9832e80bfd145211a name: 'HAProxy Frontend {#PXNAME}: Number of responses with codes 3xx per second' type: DEPENDENT key: 'haproxy.frontend.hrsp_3xx.rate[{#PXNAME}:{#SVNAME}]' @@ -932,6 +986,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: f1635a2f379b4542b9c44c9d5224fc4d name: 'HAProxy Frontend {#PXNAME}: Number of responses with codes 4xx per second' type: DEPENDENT key: 'haproxy.frontend.hrsp_4xx.rate[{#PXNAME}:{#SVNAME}]' @@ -954,6 +1009,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: cf9ae6b634fd4acc92c180bc10c9b0f5 name: 'HAProxy Frontend {#PXNAME}: Number of responses with codes 5xx per second' type: DEPENDENT key: 'haproxy.frontend.hrsp_5xx.rate[{#PXNAME}:{#SVNAME}]' @@ -976,6 +1032,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 6c09de61332c4d56a4b90ee4e9ab6fe2 name: 'HAProxy Frontend {#PXNAME}: Sessions rate' type: DEPENDENT key: 'haproxy.frontend.rate[{#PXNAME}:{#SVNAME}]' @@ -994,6 +1051,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 7097695ee69e4b7895c0d885606b8456 name: 'HAProxy Frontend {#PXNAME}: Requests rate' type: DEPENDENT key: 'haproxy.frontend.req_rate[{#PXNAME}:{#SVNAME}]' @@ -1012,6 +1070,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 7985345dcd274811ac6a2e69940f6cb7 name: 'HAProxy Frontend {#PXNAME}: Established sessions' type: DEPENDENT key: 'haproxy.frontend.scur[{#PXNAME}:{#SVNAME}]' @@ -1030,6 +1089,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 8b185b2272244229865315cc0139d43f name: 'HAProxy Frontend {#PXNAME}: Session limits' type: DEPENDENT key: 'haproxy.frontend.slim[{#PXNAME}:{#SVNAME}]' @@ -1052,6 +1112,7 @@ zabbix_export: tag: Application value: 'HAProxy frontend {#PXNAME}' - + uuid: 53efa6139fe3400283c96ec76eb20855 name: 'HAProxy Frontend {#PXNAME}: Session utilization' type: CALCULATED key: 'haproxy.frontend.sutil[{#PXNAME}:{#SVNAME}]' @@ -1066,12 +1127,14 @@ zabbix_export: value: 'HAProxy frontend {#PXNAME}' trigger_prototypes: - + uuid: 7111e90e2b804711a9c4e2493bb8b22b expression: 'min(/HAProxy by HTTP/haproxy.frontend.sutil[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_SUTIL.MAX.WARN}' name: 'HAProxy frontend {#PXNAME}: Session utilization is more than {$HAPROXY.FRONT_SUTIL.MAX.WARN}% for 5m' priority: WARNING description: 'Alerting on this metric is essential to ensure your server has sufficient capacity to handle all concurrent sessions. Unlike requests, upon reaching the session limit HAProxy will deny additional clients until resource consumption drops. Furthermore, if you find your session usage percentage to be hovering above 80%, it could be time to either modify HAProxy’s configuration to allow more sessions, or migrate your HAProxy server to a bigger box.' graph_prototypes: - + uuid: 29c858f57e5447758c9bb39008ba7aa9 name: 'HAProxy: Frontend {#PXNAME} Errors and denials per second' graph_items: - @@ -1086,6 +1149,7 @@ zabbix_export: host: 'HAProxy by HTTP' key: 'haproxy.frontend.dreq.rate[{#PXNAME}:{#SVNAME}]' - + uuid: b7db5c68269b46d4b009f5a6c769e13e name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' graph_items: - @@ -1102,6 +1166,7 @@ zabbix_export: host: 'HAProxy by HTTP' key: 'haproxy.frontend.bout[{#PXNAME}:{#SVNAME}]' - + uuid: 1550af17c1fe4509922b87dd7d60e8b7 name: 'HAProxy: Frontend {#PXNAME} Requests and sessions per second' graph_items: - @@ -1116,6 +1181,7 @@ zabbix_export: host: 'HAProxy by HTTP' key: 'haproxy.frontend.rate[{#PXNAME}:{#SVNAME}]' - + uuid: 82817ba44621444c90f7b4dc8abb3107 name: 'HAProxy: Frontend {#PXNAME} Responses by HTTP code' type: STACKED graph_items: @@ -1161,6 +1227,7 @@ zabbix_export: lld_macro: '{#SVNAME}' path: $.svname - + uuid: 11960872bd2d42c381109c05e38f4f8e name: 'TCP FRONTEND discovery' type: DEPENDENT key: haproxy.frontend_tcp.discovery @@ -1179,6 +1246,7 @@ zabbix_export: description: 'Discovery TCP frontends' item_prototypes: - + uuid: dde2d621beca4ea5a6023c0e68d6bfb3 name: 'HAProxy TCP Frontend {#PXNAME}: Incoming traffic' type: DEPENDENT key: 'haproxy.frontend_tcp.bin[{#PXNAME}:{#SVNAME}]' @@ -1207,6 +1275,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: c9e7e824c8774eb5acd38ff1af7c9596 name: 'HAProxy TCP Frontend {#PXNAME}: Outgoing traffic' type: DEPENDENT key: 'haproxy.frontend_tcp.bout[{#PXNAME}:{#SVNAME}]' @@ -1234,6 +1303,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: a1e33818c2f74481b764bcdba1f3efbc name: 'HAProxy TCP Frontend {#PXNAME}: Denied requests per second' type: DEPENDENT key: 'haproxy.frontend_tcp.dreq.rate[{#PXNAME}:{#SVNAME}]' @@ -1257,11 +1327,13 @@ zabbix_export: value: 'HAProxy TCP Frontend {#PXNAME}' trigger_prototypes: - + uuid: 0067b8a7966e4c6b9a7b3ad596143439 expression: 'min(/HAProxy by HTTP/haproxy.frontend_tcp.dreq.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_DREQ.MAX.WARN}' name: 'HAProxy TCP Frontend {#PXNAME}: Number of requests denied is more than {$HAPROXY.FRONT_DREQ.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests denied due to security concerns (ACL-restricted) is more than {$HAPROXY.FRONT_DREQ.MAX.WARN}.' - + uuid: 68d2a4028d734497adcce32c0f6edb40 name: 'HAProxy TCP Frontend {#PXNAME}: Request errors per second' type: DEPENDENT key: 'haproxy.frontend_tcp.ereq.rate[{#PXNAME}:{#SVNAME}]' @@ -1285,11 +1357,13 @@ zabbix_export: value: 'HAProxy TCP Frontend {#PXNAME}' trigger_prototypes: - + uuid: ff2572e94d984db0867ecb7b7eaf08a5 expression: 'min(/HAProxy by HTTP/haproxy.frontend_tcp.ereq.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_EREQ.MAX.WARN}' name: 'HAProxy TCP Frontend {#PXNAME}: Number of request errors is more than {$HAPROXY.FRONT_EREQ.MAX.WARN} for 5m' priority: WARNING description: 'Number of request errors is more than {$HAPROXY.FRONT_EREQ.MAX.WARN}.' - + uuid: 3987775f778e4500b8c9eb7093084614 name: 'HAProxy TCP Frontend {#PXNAME}: Sessions rate' type: DEPENDENT key: 'haproxy.frontend_tcp.rate[{#PXNAME}:{#SVNAME}]' @@ -1308,6 +1382,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: 80b807a874ba4df8bce0ba9e4def6910 name: 'HAProxy TCP Frontend {#PXNAME}: Requests rate' type: DEPENDENT key: 'haproxy.frontend_tcp.req_rate[{#PXNAME}:{#SVNAME}]' @@ -1326,6 +1401,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: e52e21036aea47b1b7a4d14c23230c8f name: 'HAProxy TCP Frontend {#PXNAME}: Established sessions' type: DEPENDENT key: 'haproxy.frontend_tcp.scur[{#PXNAME}:{#SVNAME}]' @@ -1344,6 +1420,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: b7e37e57e7834e98a0fbaa949c12abd4 name: 'HAProxy TCP Frontend {#PXNAME}: Session limits' type: DEPENDENT key: 'haproxy.frontend_tcp.slim[{#PXNAME}:{#SVNAME}]' @@ -1366,6 +1443,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP Frontend {#PXNAME}' - + uuid: e3a1c36c0de84e68b272a96774ee3ca3 name: 'HAProxy TCP Frontend {#PXNAME}: Session utilization' type: CALCULATED key: 'haproxy.frontend_tcp.sutil[{#PXNAME}:{#SVNAME}]' @@ -1380,12 +1458,14 @@ zabbix_export: value: 'HAProxy TCP Frontend {#PXNAME}' trigger_prototypes: - + uuid: 581f77d5069e4fa78499a8d87bd709ee expression: 'min(/HAProxy by HTTP/haproxy.frontend_tcp.sutil[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.FRONT_SUTIL.MAX.WARN}' name: 'HAProxy TCP Frontend {#PXNAME}: Session utilization is more than {$HAPROXY.FRONT_SUTIL.MAX.WARN}% for 5m' priority: WARNING description: 'Alerting on this metric is essential to ensure your server has sufficient capacity to handle all concurrent sessions. Unlike requests, upon reaching the session limit HAProxy will deny additional clients until resource consumption drops. Furthermore, if you find your session usage percentage to be hovering above 80%, it could be time to either modify HAProxy’s configuration to allow more sessions, or migrate your HAProxy server to a bigger box.' graph_prototypes: - + uuid: 137a0007d6eb4f2fa241d2213a0f3181 name: 'HAProxy: TCP Frontend {#PXNAME} Errors and denials per second' graph_items: - @@ -1400,6 +1480,7 @@ zabbix_export: host: 'HAProxy by HTTP' key: 'haproxy.frontend_tcp.dreq.rate[{#PXNAME}:{#SVNAME}]' - + uuid: 59a7fa4a75a34201ab487bb5ff6303b6 name: 'HAProxy: TCP Frontend {#PXNAME} In/Out traffic' graph_items: - @@ -1416,6 +1497,7 @@ zabbix_export: host: 'HAProxy by HTTP' key: 'haproxy.frontend_tcp.bout[{#PXNAME}:{#SVNAME}]' - + uuid: 08974788d6254dfd8c91314d3b867640 name: 'HAProxy: TCP Frontend {#PXNAME} Requests and sessions per second' graph_items: - @@ -1442,6 +1524,7 @@ zabbix_export: lld_macro: '{#SVNAME}' path: $.svname - + uuid: 134455ad7e8c4444a78255cb2e3fa98b name: 'Servers discovery' type: DEPENDENT key: haproxy.server.discovery @@ -1461,6 +1544,7 @@ zabbix_export: description: 'Discovery servers' item_prototypes: - + uuid: 6e5824eca488428eb61a17d1d4efd055 name: 'HAProxy {#PXNAME} {#SVNAME}: Responses denied per second' type: DEPENDENT key: 'haproxy.server.dresp.rate[{#PXNAME}:{#SVNAME}]' @@ -1483,6 +1567,7 @@ zabbix_export: tag: Application value: 'HAProxy {#PXNAME} {#SVNAME}' - + uuid: 18533da75eb142dbb216acc7af3bde4b name: 'HAProxy {#PXNAME} {#SVNAME}: Errors connection per second' type: DEPENDENT key: 'haproxy.server.econ.rate[{#PXNAME}:{#SVNAME}]' @@ -1505,6 +1590,7 @@ zabbix_export: tag: Application value: 'HAProxy {#PXNAME} {#SVNAME}' - + uuid: 3412ca47e4fe4481b434f95dda566c5e name: 'HAProxy {#PXNAME} {#SVNAME}: Response errors per second' type: DEPENDENT key: 'haproxy.server.eresp.rate[{#PXNAME}:{#SVNAME}]' @@ -1528,11 +1614,13 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 49b5dccc0fd042d0b046ec28cb4b2e68 expression: 'min(/HAProxy by HTTP/haproxy.server.eresp.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_ERESP.MAX.WARN}' name: 'HAProxy {#PXNAME} {#SVNAME}: Number of responses with error is more than {$HAPROXY.SERVER_ERESP.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests on server, whose responses yielded an error, is more than {$HAPROXY.SERVER_ERESP.MAX.WARN}.' - + uuid: 66076fc3a6fc401cb1423fb015dfe187 name: 'HAProxy {#PXNAME} {#SVNAME}: Number of responses with codes 4xx per second' type: DEPENDENT key: 'haproxy.server.hrsp_4xx.rate[{#PXNAME}:{#SVNAME}]' @@ -1555,6 +1643,7 @@ zabbix_export: tag: Application value: 'HAProxy {#PXNAME} {#SVNAME}' - + uuid: 631d2471fc7346a5b0ce8379a400f13e name: 'HAProxy {#PXNAME} {#SVNAME}: Number of responses with codes 5xx per second' type: DEPENDENT key: 'haproxy.server.hrsp_5xx.rate[{#PXNAME}:{#SVNAME}]' @@ -1577,6 +1666,7 @@ zabbix_export: tag: Application value: 'HAProxy {#PXNAME} {#SVNAME}' - + uuid: 0bc4c4f25d00423b9dc188c9dbe34db0 name: 'HAProxy {#PXNAME} {#SVNAME}: Unassigned requests' type: DEPENDENT key: 'haproxy.server.qcur[{#PXNAME}:{#SVNAME}]' @@ -1596,11 +1686,13 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: ccbf95fbaac044bd888f4ed44dd9309b expression: 'min(/HAProxy by HTTP/haproxy.server.qcur[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_QCUR.MAX.WARN}' name: 'HAProxy {#PXNAME} {#SVNAME}: Current number of requests unassigned in queue is more than {$HAPROXY.SERVER_QCUR.MAX.WARN} for 5m' priority: WARNING description: 'Current number of requests unassigned in queue is more than {$HAPROXY.SERVER_QCUR.MAX.WARN}.' - + uuid: aa3b73b8d06a463f84b10621461c1577 name: 'HAProxy {#PXNAME} {#SVNAME}: Time in queue' type: DEPENDENT key: 'haproxy.server.qtime[{#PXNAME}:{#SVNAME}]' @@ -1626,11 +1718,13 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: ed9c632e4b6042718b800b68d4b31508 expression: 'min(/HAProxy by HTTP/haproxy.server.qtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_QTIME.MAX.WARN}' name: 'HAProxy {#PXNAME} {#SVNAME}: Average time spent in queue is more than {$HAPROXY.SERVER_QTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average time spent in queue (in ms) for the last 1,024 requests is more than {$HAPROXY.SERVER_QTIME.MAX.WARN}.' - + uuid: f790d237b494452a9b77b4f002a7ca46 name: 'HAProxy {#PXNAME} {#SVNAME}: Responses time' type: DEPENDENT key: 'haproxy.server.rtime[{#PXNAME}:{#SVNAME}]' @@ -1656,11 +1750,13 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 35d110d27bb84a25b0e2bce402a02add expression: 'min(/HAProxy by HTTP/haproxy.server.rtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_RTIME.MAX.WARN}' name: 'HAProxy {#PXNAME} {#SVNAME}: Average response time is more than {$HAPROXY.SERVER_RTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average server response time (in ms) for the last 1,024 requests is more than {$HAPROXY.SERVER_RTIME.MAX.WARN}.' - + uuid: 80ceac1d54e94e50988bf205318392a8 name: 'HAProxy {#PXNAME} {#SVNAME}: Status' type: DEPENDENT key: 'haproxy.server.status[{#PXNAME}:{#SVNAME}]' @@ -1689,11 +1785,13 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 7dd9a6d8e14046ffb2c69ab616e5580c expression: 'max(/HAProxy by HTTP/haproxy.server.status[{#PXNAME}:{#SVNAME}],#5)=0' name: 'HAProxy {#PXNAME} {#SVNAME}: Server is DOWN' priority: WARNING description: 'Server is not available.' - + uuid: d7419ca33427455688a08ecff8ad6fb0 name: 'HAProxy {#PXNAME} {#SVNAME}: Redispatched requests per second' type: DEPENDENT key: 'haproxy.server.wredis.rate[{#PXNAME}:{#SVNAME}]' @@ -1716,6 +1814,7 @@ zabbix_export: tag: Application value: 'HAProxy {#PXNAME} {#SVNAME}' - + uuid: 96cfadc919d8457ebb7519e11ac93d79 name: 'HAProxy {#PXNAME} {#SVNAME}: Retried connections per second' type: DEPENDENT key: 'haproxy.server.wretr.rate[{#PXNAME}:{#SVNAME}]' @@ -1739,6 +1838,7 @@ zabbix_export: value: 'HAProxy {#PXNAME} {#SVNAME}' graph_prototypes: - + uuid: 5e1c8f6bf6c04ef6a60ce221c44c6ab6 name: 'HAProxy: {#PXNAME} {#SVNAME} Response time and time in queue' graph_items: - @@ -1765,6 +1865,7 @@ zabbix_export: lld_macro: '{#SVNAME}' path: $.svname - + uuid: c3d6dcdc070747a1a18aeaf1e49c9e9e name: 'TCP Servers discovery' type: DEPENDENT key: haproxy.server_tcp.discovery @@ -1784,6 +1885,7 @@ zabbix_export: description: 'Discovery tcp servers' item_prototypes: - + uuid: 7c4c3877b1b24ffdbce35799cc79b46d name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Responses denied per second' type: DEPENDENT key: 'haproxy.server_tcp.dresp.rate[{#PXNAME}:{#SVNAME}]' @@ -1806,6 +1908,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP {#PXNAME} {#SVNAME}' - + uuid: 4e85216aa1104a29bc3b47091ee16707 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Errors connection per second' type: DEPENDENT key: 'haproxy.server_tcp.econ.rate[{#PXNAME}:{#SVNAME}]' @@ -1828,6 +1931,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP {#PXNAME} {#SVNAME}' - + uuid: 755c741244674dadba4c46dc9a7c6c88 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Response errors per second' type: DEPENDENT key: 'haproxy.server_tcp.eresp.rate[{#PXNAME}:{#SVNAME}]' @@ -1851,11 +1955,13 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 027bd6eb92544739aac7d8a89212c0f4 expression: 'min(/HAProxy by HTTP/haproxy.server_tcp.eresp.rate[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_ERESP.MAX.WARN}' name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Number of responses with error is more than {$HAPROXY.SERVER_ERESP.MAX.WARN} for 5m' priority: WARNING description: 'Number of requests on server, whose responses yielded an error, is more than {$HAPROXY.SERVER_ERESP.MAX.WARN}.' - + uuid: 1d99ec0463684fe9b703d51f457fc323 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Unassigned requests' type: DEPENDENT key: 'haproxy.server_tcp.qcur[{#PXNAME}:{#SVNAME}]' @@ -1875,11 +1981,13 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 66b425461e6846df82d84735b85bac04 expression: 'min(/HAProxy by HTTP/haproxy.server_tcp.qcur[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_QCUR.MAX.WARN}' name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Current number of requests unassigned in queue is more than {$HAPROXY.SERVER_QCUR.MAX.WARN} for 5m' priority: WARNING description: 'Current number of requests unassigned in queue is more than {$HAPROXY.SERVER_QCUR.MAX.WARN}.' - + uuid: d5308acca29140e98be12342a50bad5b name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Time in queue' type: DEPENDENT key: 'haproxy.server_tcp.qtime[{#PXNAME}:{#SVNAME}]' @@ -1905,11 +2013,13 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 9ccb723995f34ff4a9326866570eff1d expression: 'min(/HAProxy by HTTP/haproxy.server_tcp.qtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_QTIME.MAX.WARN}' name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Average time spent in queue is more than {$HAPROXY.SERVER_QTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average time spent in queue (in ms) for the last 1,024 requests is more than {$HAPROXY.SERVER_QTIME.MAX.WARN}.' - + uuid: 4554c493e0e8442fa4adc9a7414baad1 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Responses time' type: DEPENDENT key: 'haproxy.server_tcp.rtime[{#PXNAME}:{#SVNAME}]' @@ -1935,11 +2045,13 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: 242dc57dfa8f4be4917892b893b14020 expression: 'min(/HAProxy by HTTP/haproxy.server_tcp.rtime[{#PXNAME}:{#SVNAME}],5m)>{$HAPROXY.SERVER_RTIME.MAX.WARN}' name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Average response time is more than {$HAPROXY.SERVER_RTIME.MAX.WARN} for 5m' priority: WARNING description: 'Average server response time (in ms) for the last 1,024 requests is more than {$HAPROXY.SERVER_RTIME.MAX.WARN}.' - + uuid: 7f2bfa5c81c6402c8110b85ccb16aac1 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Status' type: DEPENDENT key: 'haproxy.server_tcp.status[{#PXNAME}:{#SVNAME}]' @@ -1968,11 +2080,13 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' trigger_prototypes: - + uuid: c239d51388854e5b99d130d62d089556 expression: 'max(/HAProxy by HTTP/haproxy.server_tcp.status[{#PXNAME}:{#SVNAME}],#5)=0' name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Server is DOWN' priority: WARNING description: 'Server is not available.' - + uuid: 0daa5f48de1c4841a85030e8a4192f59 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Redispatched requests per second' type: DEPENDENT key: 'haproxy.server_tcp.wredis.rate[{#PXNAME}:{#SVNAME}]' @@ -1995,6 +2109,7 @@ zabbix_export: tag: Application value: 'HAProxy TCP {#PXNAME} {#SVNAME}' - + uuid: 8d93c675a8494846b3fed17d35e979b6 name: 'HAProxy TCP {#PXNAME} {#SVNAME}: Retried connections per second' type: DEPENDENT key: 'haproxy.server_tcp.wretr.rate[{#PXNAME}:{#SVNAME}]' @@ -2018,6 +2133,7 @@ zabbix_export: value: 'HAProxy TCP {#PXNAME} {#SVNAME}' graph_prototypes: - + uuid: 28602877a3ef46329e436ce423dd90ff name: 'HAProxy: TCP {#PXNAME} {#SVNAME} Response time and time in queue' graph_items: - @@ -2112,6 +2228,7 @@ zabbix_export: description: 'The username of the HAProxy stats page.' dashboards: - + uuid: 7910c0c96e014d68966c5ac989e9ebb7 name: 'HAProxy Backend performance' pages: - @@ -2140,6 +2257,7 @@ zabbix_export: name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' host: 'HAProxy by HTTP' - + uuid: d6ba5079de1c49bb9e0e5c47112b3ff9 name: 'HAProxy Frontend performance' pages: - @@ -2241,6 +2359,7 @@ zabbix_export: name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' host: 'HAProxy by HTTP' - + uuid: f41c3a3976dc483d98a386273ab5678f name: 'HAProxy Server performance' pages: - @@ -2270,6 +2389,7 @@ zabbix_export: host: 'HAProxy by HTTP' valuemaps: - + uuid: a8a0c20f1d404a79900064ac5d11a8b2 name: 'Service state' mappings: - |