X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/be5a228b5a0cef503d517e5e109b652c5501ee40..4b7c8414cf7bbf8eacf48cd0d0a4d9e8b01c34d3:/cookbooks/prometheus/templates/default/alert_rules.yml.erb?ds=sidebyside diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index f52f87748..2678f5e1a 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -273,14 +273,14 @@ groups: - name: juniper rules: - alert: juniper cpu alarm - expr: junos_route_engine_load_average_five > 0.5 + expr: junos_route_engine_load_average_five / 2 > 0.5 for: 5m labels: alertgroup: "{{ $labels.site }}" annotations: load_average: "{{ $value | humanizePercentage }}" - alert: juniper fan alarm - expr: jnxOperatingState{jnxOperatingContentsIndex="4",jnxOperatingState!~"running.*"} > 0 + expr: junos_environment_fan_up != 1 for: 5m labels: alertgroup: "{{ $labels.site }}"