mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
groups:
|
|
|
|
- name: CzerwonkJunosExporter
|
|
|
|
|
|
rules:
|
|
|
|
- alert: JuniperSwitchDown
|
|
expr: 'junos_up == 0'
|
|
for: 0m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: Juniper switch down (instance {{ $labels.instance }})
|
|
description: "The switch appears to be down\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
|
|
|
- alert: JuniperCriticalBandwidthUsage1gib
|
|
expr: 'rate(junos_interface_transmit_bytes[1m]) * 8 > 1e+9 * 0.90'
|
|
for: 1m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: Juniper critical Bandwidth Usage 1GiB (instance {{ $labels.instance }})
|
|
description: "Interface is highly saturated. (> 0.90GiB/s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
|
|
|
- alert: JuniperWarningBandwidthUsage1gib
|
|
expr: 'rate(junos_interface_transmit_bytes[1m]) * 8 > 1e+9 * 0.80'
|
|
for: 1m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
summary: Juniper warning Bandwidth Usage 1GiB (instance {{ $labels.instance }})
|
|
description: "Interface is getting saturated. (> 0.80GiB/s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|