diff --git a/README.md b/README.md index 7f3d683..2ec1ae3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/_data/rules.yml b/_data/rules.yml index d1cb1b3..b73aba9 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -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