diff --git a/fail-overdue.py b/fail-overdue.py index b1f26ad..b6043f7 100644 --- a/fail-overdue.py +++ b/fail-overdue.py @@ -28,6 +28,9 @@ def main(args): # Loop through all checks for check in checks: + if not check['attrs']['active']: + continue + last_check_time = check["attrs"]["last_check"] check_interval = check["attrs"]["check_interval"] check_timeout = check["attrs"]["check_timeout"] or args.default_timeout