]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Add sentry.ceph.com to checkcerts.py 724/head
authorDan Mick <dmick@redhat.com>
Wed, 15 Mar 2023 01:24:55 +0000 (18:24 -0700)
committerDan Mick <dmick@redhat.com>
Wed, 15 Mar 2023 01:25:46 +0000 (18:25 -0700)
Signed-off-by: Dan Mick <dmick@redhat.com>
tools/checkcerts.py

index 695dc64fad8707d8457d685fc7c6ab6a55ed3f34..901be3636155501d7a19da6666c82e0a9ef19dbd 100755 (executable)
@@ -31,6 +31,7 @@ DEFAULT_DOMAINS = [
     '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())