aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoransible_admin <capsul@cyberia.club>2021-04-02 04:21:37 +0000
committeransible_admin <capsul@cyberia.club>2021-04-02 04:21:37 +0000
commit9eb27539b7d6b0c925532c47bbd18bd076eeee52 (patch)
tree2031a13731c3717350db79667d2cfb876ed29492
parentbcc860670d8d6507ad6442dd2d44e9f8c507def1 (diff)
downloadops-handbook-9eb27539b7d6b0c925532c47bbd18bd076eeee52.tar.gz
ops-handbook-9eb27539b7d6b0c925532c47bbd18bd076eeee52.tar.bz2
add new rule
-rw-r--r--rules/alerts.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/alerts.yml b/rules/alerts.yml
index a472855..e9be658 100644
--- a/rules/alerts.yml
+++ b/rules/alerts.yml
@@ -63,6 +63,13 @@ groups:
severity: critical
annotations:
description: FDs for process {{ $labels.job }} on {{ $labels.instance}} is filling up
+ - alert: AlpineUpdatesAvailable
+ expr: alpine_upgrades_pending > 100
+ for: 1m
+ labels:
+ severity: warning
+ annotations:
+ description: There are over one hundred package upgrades available for {{ $labels.instance}}.
- alert: HostUnusualNetworkThroughputIn
expr: sum by (instance) (irate(node_network_receive_bytes_total[2m])) / 1024 / 1024 > 100
for: 5m