changeset 86:ce7c4a918832

front door display rule
author drewp@bigasterisk.com
date Mon, 26 Aug 2024 16:32:22 -0700
parents b5cea75d68dd
children 598e75e8e2d7
files alert_rules.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/alert_rules.py	Wed Aug 14 10:20:48 2024 -0700
+++ b/alert_rules.py	Mon Aug 26 16:32:22 2024 -0700
@@ -263,6 +263,12 @@
                             "summary": "see https://bigasterisk.com/front-door-lock/"
                         },
                     },
+                     {
+                        "alert": "front_door_display_low_traffic",
+                        'expr': 'rate(lan_bytes_sent_from_total{mac="00:e0:4c:68:0a:19"}[3m]) < 20',
+                        "annotations": {
+                        },
+                    },
                 ],
             },
             {