Skip to content

Commit f974c70

Browse files
author
Pablo Mendez
committed
update notifications yaml
1 parent 475316e commit f974c70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notifications.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ endpoints:
22
- name: "High CPU Usage Check"
33
enabled: true
44
group: "hardware"
5-
url: "http://prometheus.dms.dappnode:9090/api/v1/query?query=100*avg%20by%20(instance)%20(rate(node_cpu_seconds_total%7Bmode!%3D%22idle%22%7D%5B2m%5D))"
5+
url: "http://prometheus.dms.dappnode:9090/api/v1/query?query=100%20*%20sum%20by%28instance%29%20%28rate%28node_cpu_seconds_total%7Bmode!%3D%22idle%22%7D%5B2m%5D%29%29%20%2F%20sum%20by%28instance%29%20%28rate%28node_cpu_seconds_total%5B2m%5D%29%29"
66
method: "GET"
77
interval: "30s"
88
conditions:
@@ -68,7 +68,7 @@ endpoints:
6868
description: "Triggers if disk usage exceeds the limit defined in the condition"
6969
priority: "high"
7070
correlationId: "dms-disk"
71-
isBanner: "true"
71+
isBanner: "false"
7272
alerts:
7373
- type: custom
7474
enabled: true
@@ -94,7 +94,7 @@ endpoints:
9494
description: "Triggers if the average node temperature exceeds the defined threshold"
9595
priority: "medium"
9696
correlationId: "dms-temperature"
97-
isBanner: "true"
97+
isBanner: "false"
9898
alerts:
9999
- type: custom
100100
enabled: true

0 commit comments

Comments
 (0)