fix root mail on bk, nonroot stuff, misc prom updates
[distro-setup] / filesystem / etc / prometheus / rules / iank.yml
index 043b64d695a4226e8c9103cb7fcce25314527eef..b78368fef48df7af5332d0633fc5e8fa3fafeb7d 100644 (file)
@@ -155,3 +155,19 @@ groups:
     annotations:
       description: '{{ $labels.instance }} ianktest.'
       summary: Instance {{ $labels.instance }} - ianktest
+  - alert: ianktest
+    expr: node_systemd_version >= 300
+    labels:
+      severity: critical
+    annotations:
+      description: '{{ $labels.instance }} ianktest.'
+      summary: Instance {{ $labels.instance }} - ianktest
+
+  - alert: ianktest
+    expr: |-
+      time() - mailtest_check_last_usec > 60 * 8
+    labels:
+      severity: critical
+    annotations:
+      description: '{{ $labels.instance }} mailtest'
+      summary: Instance {{ $labels.instance }} - ianktest