Skip to content

Commit

Permalink
Add sentry.ceph.com to checkcerts.py
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Mick <[email protected]>
  • Loading branch information
Dan Mick committed Mar 15, 2023
1 parent 5ff5014 commit 7428652
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/checkcerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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:
Expand All @@ -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())
Expand Down

0 comments on commit 7428652

Please sign in to comment.