From 74286528fea103997611ee7d999bd11048f3c6e2 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 14 Mar 2023 18:24:55 -0700 Subject: [PATCH] Add sentry.ceph.com to checkcerts.py Signed-off-by: Dan Mick --- tools/checkcerts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/checkcerts.py b/tools/checkcerts.py index 695dc64f..901be363 100755 --- a/tools/checkcerts.py +++ b/tools/checkcerts.py @@ -31,6 +31,7 @@ 'pad.ceph.com', 'pulpito.ceph.com', 'quay.ceph.io', + 'sentry.ceph.com', 'shaman.ceph.com', 'status.sepia.ceph.com', 'telemetry-public.ceph.com', @@ -81,6 +82,7 @@ def main(): args = parse_args() domains = args.domains + warned = False for domain in domains: warn = datetime.timedelta(days=DAYS_BEFORE_WARN) try: @@ -104,6 +106,8 @@ def main(): if email == []: email = DEFAULT_EMAIL sendmail(email, subject, body) + warned = True + return int(warned) if __name__ == '__main__': sys.exit(main())