Monitor iLO using SNMP #89

Merged
erdnaxe merged 8 commits from prometheus_ilo into master 2021-12-31 18:40:20 +01:00
2 changed files with 3 additions and 9 deletions
Showing only changes of commit f50778ca96 - Show all commits

View file

@ -112,7 +112,7 @@ groups:
rate(pg_stat_database_xact_rollback{datname!~"template.*"}[3m]) / rate(pg_stat_database_xact_rollback{datname!~"template.*"}[3m]) /
rate(pg_stat_database_xact_commit{datname!~"template.*"}[3m]) rate(pg_stat_database_xact_commit{datname!~"template.*"}[3m])
) * 100 ) * 100
> 7 > 20
for: 0m for: 0m
labels: labels:
severity: warning severity: warning

View file

@ -10,23 +10,17 @@ groups:
- name: server.rules - name: server.rules
rules: rules:
- alert: InstanceDown - alert: MachineDown
expr: up{instance!~".*.borne.auro.re$"} == 0 expr: up{instance!~".*.borne.auro.re$"} == 0
for: 3m for: 3m
labels: labels:
severity: critical severity: critical
annotations:
summary: >-
Invisible depuis plus de 3 minutes
- alert: AccessPointDown - alert: AccessPointDown
expr: up{instance=~".*.borne.auro.re$"} == 0 expr: up{instance=~".*.borne.auro.re$"} == 0
for: 3m for: 3m
labels: labels:
severity: warning severity: warning
annotations:
summary: >-
Invisible depuis plus de 3 minutes
- alert: OutOfMemory - alert: OutOfMemory
expr: >- expr: >-
@ -50,7 +44,7 @@ groups:
node_memory_SwapFree_bytes node_memory_SwapFree_bytes
/ node_memory_SwapTotal_bytes / node_memory_SwapTotal_bytes
) )
) * 100 >= 20 ) * 100 >= 50
for: 3m for: 3m
labels: labels:
severity: warning severity: warning