Merge pull request #29 from AngelFreak/juniper-rules

Add Juniper rules
This commit is contained in:
Samuel Berthe 2019-05-21 11:52:18 +02:00 committed by GitHub
commit a214e3d297
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 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,17 @@ 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 10GiB
description: Interface is highly saturated for at least 2 min. (> 9.5GiB/s)
query: 'irate(junos_interface_transmit_bytes[2m]) * 8 > 1e+10 * 0.95'
severity: critical