SSL Cert expiration Tracker

Problem this snippet solves:

Script is useful for large F5 LTM infrastructure.

Instead of checking certs being expired on individual LTM, just list all your LB's in single file and script will check and create a report.

How to use this snippet:

This is made up of 3 parts:

1- hosts file (hosts.txt)

2- The Script

3- Report (bigip.data)

Make sure you have Python 3 installed on your system.

Install F5 SDK - i.e "pip install f5-sdk" and other modules such as dateutil, getpass, datetime etc.

Create Text file "hosts.txt" and keep it in same directory as script.

List all your LB's in "hosts.txt", each on new line.

That's all! Run the script.

If you face any issue let me know.

Please provide any suggestions.

Code :

92601
Published Mar 28, 2019
Version 1.0

Was this article helpful?

3 Comments

  • sagar's avatar
    sagar
    Icon for Nimbostratus rankNimbostratus

    I am unable to open this attachment .Can you please re-post the attachment .Thanks

  • I am interested in reviewing this script, however, the attachment does not open. Can you re-post the attachment or post the code directly on this page? Thank You!!

  • Mouni's avatar
    Mouni
    Icon for Nimbostratus rankNimbostratus

    Please provide the script i would like to review it as well. The attachment gives an error. Thank You.