add config for chatbot and add alert for high mem openwrt [CI SKIP]

This commit is contained in:
viktorbarzin 2021-03-07 23:14:35 +00:00
parent 1b0c976ffb
commit 81e3f47f18
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 13 additions and 0 deletions

View file

@ -160,6 +160,15 @@ serverFiles:
severity: page
annotations:
summary: No iDRAC amperage reading. Can signal that prometheus is not scraping
- name: OpenWRT High Memory Usage
rules:
- alert: OpenWRT High Memory Usage
expr: 100 - ((openwrt_node_memory_MemAvailable_bytes * 100) / openwrt_node_memory_MemTotal_bytes) > 90
for: 10m
labels:
severity: page
annotations:
summary: OpenWRT high memory usage. Can cause services getting stuck.
extraScrapeConfigs: |
- job_name: 'snmp-idrac'