Merge monitoring of new ups, and adapt threesold #33
3 changed files with 3 additions and 1 deletions
|
@ -107,6 +107,7 @@
|
|||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
||||
snmp_switch_community: "{{ vault_snmp_switch_community }}"
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
|
|
|
@ -119,7 +119,7 @@ groups:
|
|||
summary: "La tension de sortie de {{ $labels.instance }} est de {{ $value }}V."
|
||||
|
||||
- alert: UpsTimeRemainingWarning
|
||||
expr: upsEstimatedMinutesRemaining < 15
|
||||
expr: upsEstimatedMinutesRemaining < 8
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
|
|
|
@ -14,6 +14,7 @@ eatonups:
|
|||
- 1.3.6.1.2.1.33.1.3
|
||||
- 1.3.6.1.2.1.33.1.4
|
||||
- 1.3.6.1.4.1.534.1.6
|
||||
- 1.3.6.1.4.1.318.1.1.10.2.3.2.1.4
|
||||
get:
|
||||
- 1.3.6.1.2.1.1.3.0
|
||||
metrics:
|
||||
|
|
Loading…
Reference in a new issue