mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
fix(freeswitch): move to the networking section
This commit is contained in:
parent
823b8edd7e
commit
b9f09e7f93
2 changed files with 20 additions and 20 deletions
|
|
@ -67,6 +67,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/
|
||||||
- [SSL/TLS](https://awesome-prometheus-alerts.grep.to/rules#ssl/tls)
|
- [SSL/TLS](https://awesome-prometheus-alerts.grep.to/rules#ssl/tls)
|
||||||
- [Juniper](https://awesome-prometheus-alerts.grep.to/rules#juniper)
|
- [Juniper](https://awesome-prometheus-alerts.grep.to/rules#juniper)
|
||||||
- [CoreDNS](https://awesome-prometheus-alerts.grep.to/rules#coredns)
|
- [CoreDNS](https://awesome-prometheus-alerts.grep.to/rules#coredns)
|
||||||
|
- [FreeSwitch](https://awesome-prometheus-alerts.grep.to/rules#freeswitch)
|
||||||
|
|
||||||
#### Other
|
#### Other
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1960,6 +1960,25 @@ groups:
|
||||||
query: 'increase(coredns_panics_total[1m]) > 0'
|
query: 'increase(coredns_panics_total[1m]) > 0'
|
||||||
severity: critical
|
severity: critical
|
||||||
|
|
||||||
|
- name: Freeswitch
|
||||||
|
exporters:
|
||||||
|
- name: znerol/prometheus-freeswitch-exporter
|
||||||
|
doc_url: https://pypi.org/project/prometheus-freeswitch-exporter
|
||||||
|
rules:
|
||||||
|
- name: Freeswitch down
|
||||||
|
description: Freeswitch is unresponsive
|
||||||
|
query: 'freeswitch_up == 0'
|
||||||
|
severity: critical
|
||||||
|
- name: Freeswitch Sessions Warning
|
||||||
|
description: 'High sessions uage on {{ $labels.instance }}: {{ $value | printf "%.2f"}}%'
|
||||||
|
query: '(freeswitch_session_active * 100 / freeswitch_session_limit) > 80'
|
||||||
|
severity: warning
|
||||||
|
for: 10m
|
||||||
|
- name: Freeswitch Sessions Critical
|
||||||
|
description: 'High sessions uage on {{ $labels.instance }}: {{ $value | printf "%.2f"}}%'
|
||||||
|
query: '(freeswitch_session_active * 100 / freeswitch_session_limit) > 90'
|
||||||
|
severity: critical
|
||||||
|
for: 5m
|
||||||
|
|
||||||
- name: Other
|
- name: Other
|
||||||
services:
|
services:
|
||||||
|
|
@ -1978,23 +1997,3 @@ groups:
|
||||||
description: Thanos compaction has not run in 24 hours.
|
description: Thanos compaction has not run in 24 hours.
|
||||||
query: '(time() - thanos_objstore_bucket_last_successful_upload_time) > 24*60*60'
|
query: '(time() - thanos_objstore_bucket_last_successful_upload_time) > 24*60*60'
|
||||||
severity: critical
|
severity: critical
|
||||||
|
|
||||||
- name: Freeswitch
|
|
||||||
doc_url: https://pypi.org/project/prometheus-freeswitch-exporter
|
|
||||||
exporters:
|
|
||||||
- rules:
|
|
||||||
- name: Freeswitch down
|
|
||||||
description: Freeswitch is unresponsive
|
|
||||||
query: 'freeswitch_up == 0'
|
|
||||||
severity: critical
|
|
||||||
for: 1m
|
|
||||||
- name: Freeswitch Sessions Warning
|
|
||||||
description: 'High sessions uage on {{ $labels.instance }}: {{ $value | printf "%.2f"}}%'
|
|
||||||
query: '(freeswitch_session_active * 100 / freeswitch_session_limit) > 80'
|
|
||||||
severity: warning
|
|
||||||
for: 10m
|
|
||||||
- name: Freeswitch Sessions Critical
|
|
||||||
description: 'High sessions uage on {{ $labels.instance }}: {{ $value | printf "%.2f"}}%'
|
|
||||||
query: '(freeswitch_session_active * 100 / freeswitch_session_limit) > 90'
|
|
||||||
severity: critical
|
|
||||||
for: 5m
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue