diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-07-05 13:52:17 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-07-05 13:52:17 +0200 |
commit | 614d0707894c31b190bf358074409c927d5e33b5 (patch) | |
tree | 809ed8798387d928fc53af64a28e702697e0487a /roles/monitoring/prometheus/server/defaults/main/rules_node.yml | |
parent | add ch-octopi (diff) |
prometheus: increase for periods for some alerts
Diffstat (limited to 'roles/monitoring/prometheus/server/defaults/main/rules_node.yml')
-rw-r--r-- | roles/monitoring/prometheus/server/defaults/main/rules_node.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/monitoring/prometheus/server/defaults/main/rules_node.yml b/roles/monitoring/prometheus/server/defaults/main/rules_node.yml index 76571dc3..4deeeebe 100644 --- a/roles/monitoring/prometheus/server/defaults/main/rules_node.yml +++ b/roles/monitoring/prometheus/server/defaults/main/rules_node.yml @@ -84,7 +84,7 @@ prometheus_server_rules_node: - alert: HostHighCpuLoad expr: 100 - (avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[2m])) * 100) > 80 - for: 15m + for: 20m labels: severity: warning annotations: @@ -201,7 +201,7 @@ prometheus_server_rules_node: - alert: HostNetworkInterfaceSaturated expr: (rate(node_network_receive_bytes_total{device!~"^(tap|vnet).*"}[1m]) + rate(node_network_transmit_bytes_total{device!~"^(tap|vnet).*"}[1m])) / node_network_speed_bytes{device!~"^(tap|vnet).*"} > 0.95 - for: 1m + for: 20m labels: severity: warning annotations: |