Add Juniper rules

This commit is contained in:
AngelFreak 2019-05-15 15:20:48 +02:00
parent 14c34eaf1a
commit 5e40343cbc
2 changed files with 19 additions and 0 deletions

View file

@ -34,6 +34,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/
- [Linkerd](https://awesome-prometheus-alerts.grep.to/rules#linkerd)
- [Istio](https://awesome-prometheus-alerts.grep.to/rules#istio)
- [Blackbox](https://awesome-prometheus-alerts.grep.to/rules#blackbox)
- [Juniper](https://awesome-prometheus-alerts.grep.to/rules#juniper)
## Contributing

View file

@ -360,3 +360,21 @@ services:
description: SSL certificate has expired already
query: 'probe_ssl_earliest_cert_expiry - time() <= 0'
severity: error
- name: Juniper
exporters:
- name: czerwonk/junos_exporter
doc_url: https://github.com/czerwonk/junos_exporter
rules:
- name: Switch is down
description: The switch appears to be down
query: junos_up == 0
severity: critical
- name: High Bandwith Usage 1GiB
description: Interfaceis highly saturated for at least 2 min. (> 0.95GiB/s)
query: 'irate(junos_interface_transmit_bytes[2m]) * 8 > 9.5e+09'
severity: warning
- name: High Bandwith Usage 10GiB
description: Interface is highly saturated for at least 2 min. (> 9.5GiB/s)
query: 'irate(junos_interface_transmit_bytes[2m]) * 8 > 9.5e+08'
severity: warning