diff options
Diffstat (limited to 'templates/app/etcd_http/template_app_etcd_http.yaml')
-rw-r--r-- | templates/app/etcd_http/template_app_etcd_http.yaml | 271 |
1 files changed, 183 insertions, 88 deletions
diff --git a/templates/app/etcd_http/template_app_etcd_http.yaml b/templates/app/etcd_http/template_app_etcd_http.yaml index 97c3639ab7a..abd6a0d1ad0 100644 --- a/templates/app/etcd_http/template_app_etcd_http.yaml +++ b/templates/app/etcd_http/template_app_etcd_http.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2022-01-10T07:38:28Z' + date: '2022-01-26T10:01:32Z' groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 @@ -13,7 +13,7 @@ zabbix_export: description: | Get Etcd metrics by HTTP agent. - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Applications @@ -41,8 +41,8 @@ zabbix_export: key: etcd.get_version tags: - - tag: Application - value: Etcd + tag: component + value: application triggers: - uuid: 7c87424c4fb34c56bc9b976755b4ec02 @@ -51,6 +51,10 @@ zabbix_export: priority: INFO description: 'Etcd version has changed. Ack to close.' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 04b0fa552b7d4267b4c5b67ee82ef5f1 name: 'Etcd: CPU' @@ -76,8 +80,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: cpu - uuid: bfa5bd42637642808802f7b2485a0c4d name: 'Etcd: DB size' @@ -99,8 +103,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: database - uuid: a5bc7ffb090641ab92f537b38b6055e5 name: 'Etcd: Deletes per second' @@ -126,8 +130,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: operations - uuid: 183843bd93f84dc887a03fb638b2d323 name: 'Etcd: Pending events' @@ -147,8 +151,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: events - uuid: 34ffab33275a400ab88e5217dee5ef96 name: 'Etcd: Get node metrics' @@ -163,8 +167,8 @@ zabbix_export: url: '{$ETCD.SCHEME}://{HOST.CONN}:{$ETCD.PORT}/metrics' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw - uuid: fdf7593420ab42b2a5af8f8b8030b517 name: 'Etcd: Get version' @@ -176,8 +180,8 @@ zabbix_export: url: '{$ETCD.SCHEME}://{HOST.CONN}:{$ETCD.PORT}/version' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: application - uuid: d23baf75628043e193ba0a607e1b4215 name: 'Etcd: RPCs received per second' @@ -209,8 +213,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc - uuid: eda81182710e47e1b5f2f21bb05b4775 name: 'Etcd: RPCs sent per second' @@ -242,8 +246,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc - uuid: bf59a130b20d480d93eb9330750e8e28 name: 'Etcd: RPCs started per second' @@ -275,8 +279,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc - uuid: e03575f4c472410eb6fbcf731ac6aab2 name: 'Etcd: Server has a leader' @@ -302,8 +306,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: leader triggers: - uuid: 20165719d521453bb239d818ac57805c @@ -311,6 +315,10 @@ zabbix_export: name: 'Etcd: Member has no leader' priority: AVERAGE description: 'If a member does not have a leader, it is totally unavailable.' + tags: + - + tag: scope + value: availability - uuid: 3fde4db8b9684ba4b56ba915e48957b5 name: 'Etcd: Node health' @@ -340,8 +348,8 @@ zabbix_export: url: '{$ETCD.SCHEME}://{HOST.CONN}:{$ETCD.PORT}/health' tags: - - tag: Application - value: Etcd + tag: component + value: health triggers: - uuid: 6acda7bdc9df4a4ab5b7cca76c6369f0 @@ -354,6 +362,10 @@ zabbix_export: - name: 'Etcd: Service is unavailable' expression: 'last(/Etcd by HTTP/net.tcp.service["{$ETCD.SCHEME}","{HOST.CONN}","{$ETCD.PORT}"])=0' + tags: + - + tag: scope + value: availability - uuid: 923a408dd4514e808b6e2137a94f8140 name: 'Etcd: HTTP 4XX' @@ -385,8 +397,11 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: http + - + tag: http-code + value: 4XX - uuid: c0f27d4bfba344079a31ce8c10b22683 name: 'Etcd: HTTP 5XX' @@ -418,8 +433,11 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: http + - + tag: http-code + value: 5XX triggers: - uuid: 0302957e0f6b43389546e1cfb958ed9c @@ -427,6 +445,10 @@ zabbix_export: name: 'Etcd: Too many HTTP requests failures (over {$ETCD.HTTP.FAIL.MAX.WARN} for 5m)''' priority: WARNING description: 'Too many requests failed on etcd instance with 5xx HTTP code.' + tags: + - + tag: scope + value: availability - uuid: 2a19db1c58ee4a509061fcb1b557c1a3 name: 'Etcd: HTTP requests received' @@ -458,8 +480,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: http - uuid: b3760811472440baad6a338f481ba13a name: 'Etcd: Server is a leader' @@ -487,8 +509,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: leader triggers: - uuid: 44d66eb1a332418daf4c3a1110db5458 @@ -501,6 +523,10 @@ zabbix_export: - name: 'Etcd: Service is unavailable' expression: 'last(/Etcd by HTTP/net.tcp.service["{$ETCD.SCHEME}","{HOST.CONN}","{$ETCD.PORT}"])=0' + tags: + - + tag: scope + value: notice - uuid: ecd1ae9c038f4fc2b720ad562ced0191 name: 'Etcd: Keys compacted per second' @@ -527,8 +553,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: keys - uuid: a3f910efb0a04cc494c07b8703f9d2ec name: 'Etcd: Keys expired per second' @@ -553,8 +579,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: keys - uuid: fbda737014544cf1bcf544a48aa6e48b name: 'Etcd: Keys total' @@ -574,8 +600,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: keys - uuid: e45ba61d99b8432b86f5797a2cfdb416 name: 'Etcd: Leader changes' @@ -595,8 +621,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: leader triggers: - uuid: 1ea623927179489890a5a73eeb8177f7 @@ -604,6 +630,10 @@ zabbix_export: name: 'Etcd: Instance has seen too many leader changes (over {$ETCD.LEADER.CHANGES.MAX.WARN} for 15m)''' priority: WARNING description: 'Rapid leadership changes impact the performance of etcd significantly. It also signals that the leader is unstable, perhaps due to network connectivity issues or excessive load hitting the etcd cluster.' + tags: + - + tag: scope + value: availability - uuid: 348e15d2ec3a4bb88e2ca371f96c2f00 name: 'Etcd: Maximum open file descriptors' @@ -624,8 +654,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: fds - uuid: d016b8674ebd4251943f2e94b22f5ff2 name: 'Etcd: Client gRPC received bytes per second' @@ -651,8 +681,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc - uuid: e50d2d088c6448dbb3ecaeebc3b2b8f1 name: 'Etcd: Client gRPC sent bytes per second' @@ -678,8 +708,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc - uuid: d5099d4cdb3044ba95935c2aea2b6352 name: 'Etcd: Open file descriptors' @@ -700,8 +730,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: fds - uuid: a2927b1e85af41cab9c28b1b79c229ea name: 'Etcd: Proposals applied per second' @@ -726,8 +756,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: proposals - uuid: e829f3df055e42dfbce5f27eb7ca487c name: 'Etcd: Proposals committed per second' @@ -752,8 +782,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: proposals - uuid: 6b45b99526394a219d31b5c22cb98c85 name: 'Etcd: Proposals failed per second' @@ -778,8 +808,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: proposals triggers: - uuid: 432cea8bddd742ca98528be2fbc7e35e @@ -787,6 +817,10 @@ zabbix_export: name: 'Etcd: Too many proposal failures (over {$ETCD.PROPOSAL.FAIL.MAX.WARN} for 5m)''' priority: WARNING description: 'Normally related to two issues: temporary failures related to a leader election or longer downtime caused by a loss of quorum in the cluster.' + tags: + - + tag: scope + value: performance - uuid: 1c506ff69e7b4564a6d95fd35b1a11fd name: 'Etcd: Proposals pending' @@ -806,8 +840,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: proposals triggers: - uuid: 5feefc4dd5d14fe2b56dd63029b57026 @@ -815,6 +849,10 @@ zabbix_export: name: 'Etcd: Too many proposals are queued to commit (over {$ETCD.PROPOSAL.PENDING.MAX.WARN} for 5m)''' priority: WARNING description: 'Rising pending proposals suggests there is a high client load or the member cannot commit proposals.' + tags: + - + tag: scope + value: performance - uuid: bd7398507c274bfab53339380df16761 name: 'Etcd: PUT per second' @@ -840,8 +878,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: operations - uuid: b744c07f3290467b96b21ea38ad5d497 name: 'Etcd: Range per second' @@ -867,8 +905,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: operations - uuid: 88c91b36eca94fd2b357a67d171dc621 name: 'Etcd: Reads per second' @@ -901,8 +939,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: store - uuid: 4b881e32094e4f478c5d0849cb5d07a7 name: 'Etcd: Resident memory' @@ -924,8 +962,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: memory - uuid: dee9ed8897cf4d3582957707ea09cdf8 name: 'Etcd: Server version' @@ -949,8 +987,8 @@ zabbix_export: key: etcd.get_version tags: - - tag: Application - value: Etcd + tag: component + value: application triggers: - uuid: cfb2fc467b224ef694d59b5c081ed965 @@ -959,6 +997,10 @@ zabbix_export: priority: INFO description: 'Etcd version has changed. Ack to close.' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: b14c787c716146e990bc388d277a2803 name: 'Etcd: Transaction per second' @@ -984,8 +1026,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: transactions - uuid: 98ec9085d621446aa462efc86cf93905 name: 'Etcd: Uptime' @@ -1013,8 +1055,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: application triggers: - uuid: 6843369969f5410a840494104d71fe1f @@ -1023,6 +1065,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: c35810b8b7bc4a62970b5293fb2d8fb2 name: 'Etcd: Virtual memory' @@ -1044,8 +1090,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: memory - uuid: 16c041fc189248bfaaa5826ffaf38459 name: 'Etcd: Writes per second' @@ -1077,8 +1123,8 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: store - uuid: a0f94f429b99432e86d15ffa74d6eada name: 'Etcd: Service''s TCP port state' @@ -1094,8 +1140,11 @@ zabbix_export: - 10m tags: - - tag: Application - value: Etcd + tag: component + value: health + - + tag: component + value: network triggers: - uuid: 74164f0783ae4227ba44f3e865fee3bd @@ -1103,6 +1152,10 @@ zabbix_export: name: 'Etcd: Service is unavailable' priority: AVERAGE manual_close: 'YES' + tags: + - + tag: scope + value: availability discovery_rules: - uuid: 5e6121383e5d4f3eb1150a2068a4633b @@ -1154,14 +1207,21 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: Etcd + tag: component + value: grpc + - + tag: grpc-code + value: '{#GRPC.CODE}' trigger_prototypes: - uuid: 459b6ee5735047d597a6a4ab41b76e21 expression: 'min(/Etcd by HTTP/etcd.grpc.handled.rate[{#GRPC.CODE}],5m)>{$ETCD.GRPC.ERRORS.MAX.WARN}' name: 'Etcd: Too many failed gRPC requests with code: {#GRPC.CODE} (over {$ETCD.GRPC.ERRORS.MAX.WARN} in 5m)' priority: WARNING + tags: + - + tag: scope + value: availability master_item: key: etcd.get_metrics preprocessing: @@ -1239,8 +1299,14 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: 'Etcd peer {#ETCD.PEER}' + tag: component + value: network + - + tag: component + value: peers + - + tag: peer + value: '{#ETCD.PEER}' - uuid: 8f5fecbabe474baaab40df46879401af name: 'Etcd: Etcd peer {#ETCD.PEER}: Bytes sent' @@ -1268,8 +1334,14 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: 'Etcd peer {#ETCD.PEER}' + tag: component + value: network + - + tag: component + value: peers + - + tag: peer + value: '{#ETCD.PEER}' - uuid: 2521ccfc16fc43069001883b85aa0243 name: 'Etcd: Etcd peer {#ETCD.PEER}: Receive failures failures' @@ -1297,8 +1369,14 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: 'Etcd peer {#ETCD.PEER}' + tag: component + value: network + - + tag: component + value: peers + - + tag: peer + value: '{#ETCD.PEER}' - uuid: 5756f1a16e5c42b79f6d6225c5382599 name: 'Etcd: Etcd peer {#ETCD.PEER}: Send failures' @@ -1326,8 +1404,14 @@ zabbix_export: key: etcd.get_metrics tags: - - tag: Application - value: 'Etcd peer {#ETCD.PEER}' + tag: component + value: network + - + tag: component + value: peers + - + tag: peer + value: '{#ETCD.PEER}' master_item: key: etcd.get_metrics lld_macro_paths: @@ -1339,6 +1423,13 @@ zabbix_export: type: PROMETHEUS_TO_JSON parameters: - etcd_network_peer_sent_bytes_total + tags: + - + tag: class + value: application + - + tag: target + value: etcd macros: - macro: '{$ETCD.GRPC.ERRORS.MAX.WARN}' @@ -1428,6 +1519,10 @@ zabbix_export: description: | Heavy file descriptor usage (i.e., near the process's file descriptor limit) indicates a potential file descriptor exhaustion issue. If the file descriptors are exhausted, etcd may panic because it cannot create new WAL files. + tags: + - + tag: scope + value: capacity graphs: - uuid: 18baccd03c0f4814a42d32b51334787d |