1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-15 17:50:48 +00:00
monitoring-mixins-website/assets/asterisk/alerts.yaml
Vitaly Zhuravlev b3b400137a Add jsonnet-libs mixins
Add blackbox exporter
Add mysql exporter
2024-05-04 12:01:41 +00:00

47 lines
1.4 KiB
YAML

groups:
- name: AsteriskAlerts
rules:
- alert: AsteriskRestarted
annotations:
description: |-
Asterisk instance restarted in the last minute
VALUE = {{ $value }}
LABELS = {{ $labels }}
summary: Asterisk instance restarted in the last minute.
expr: asterisk_core_uptime_seconds < 60
for: 5s
labels:
severity: critical
- alert: AsteriskReloaded
annotations:
description: |-
Asterisk instance reloaded in the last minute
VALUE = {{ $value }}
LABELS = {{ $labels }}
summary: Asterisk instance reloaded in the last minute.
expr: asterisk_core_last_reload_seconds < 60
for: 5s
labels:
severity: warning
- alert: AsteriskHighScrapeTime
annotations:
description: |-
Asterisk instance core high scrape time (Possible system performance degradation)
VALUE = {{ $value }}
LABELS = {{ $labels }}
summary: Asterisk instance core high scrape time.
expr: asterisk_core_scrape_time_ms > 100
for: 10s
labels:
severity: critical
- alert: AsteriskHighActiveCallsCount
annotations:
description: |-
Asterisk high active call count
VALUE = {{ $value }}
LABELS = {{ $labels }}
summary: Asterisk high active call count.
expr: asterisk_calls_count > 100
for: 10s
labels:
severity: warning