X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprometheus%2Frules%2Fiank.yml;h=b78368fef48df7af5332d0633fc5e8fa3fafeb7d;hb=7c94d9bd37b13d57098a297e1e58ad27b54e6eff;hp=043b64d695a4226e8c9103cb7fcce25314527eef;hpb=17b4b5f6afb18accc328282d8ce7dcc5513e621d;p=distro-setup diff --git a/filesystem/etc/prometheus/rules/iank.yml b/filesystem/etc/prometheus/rules/iank.yml index 043b64d..b78368f 100644 --- a/filesystem/etc/prometheus/rules/iank.yml +++ b/filesystem/etc/prometheus/rules/iank.yml @@ -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