]> git.openstreetmap.org Git - chef.git/commitdiff
Base juniper CPU alarm on 5 minute load average
authorTom Hughes <tom@compton.nu>
Mon, 12 Jun 2023 14:37:19 +0000 (15:37 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 12 Jun 2023 14:37:19 +0000 (15:37 +0100)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index c7c3a1bac2e4f574fa0541dc0df5812382071f66..f7b35990aeaaf813036f9223703cc37a231f193d 100644 (file)
@@ -249,7 +249,7 @@ groups:
   - name: juniper
     rules:
       - alert: juniper cpu alarm
-        expr: jnxOperatingCPU{jnxOperatingContentsIndex="7"} > 30
+        expr: jnxOperating5MinLoadAvg{jnxOperatingContentsIndex="9"} > 50
         for: 5m
         labels:
           alertgroup: "{{ $labels.site }}"