Monitor iLO using SNMP #89
2 changed files with 3 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue