fix(freeswitch): move to the networking section

This commit is contained in:
Samuel Berthe 2021-05-01 18:53:04 +02:00
parent 823b8edd7e
commit b9f09e7f93
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C
2 changed files with 20 additions and 20 deletions

View file

@ -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)
- [Juniper](https://awesome-prometheus-alerts.grep.to/rules#juniper)
- [CoreDNS](https://awesome-prometheus-alerts.grep.to/rules#coredns)
- [FreeSwitch](https://awesome-prometheus-alerts.grep.to/rules#freeswitch)
#### Other

View file

@ -1960,6 +1960,25 @@ groups:
query: 'increase(coredns_panics_total[1m]) > 0'
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
services:
@ -1978,23 +1997,3 @@ groups:
description: Thanos compaction has not run in 24 hours.
query: '(time() - thanos_objstore_bucket_last_successful_upload_time) > 24*60*60'
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