SSL Cert Expiration.apm-template

Version 1

    Just another SSL certificate expiration check.

     

    It basically just uses the Orion server to run powershell commands and retrieve the number of days until the SSL cert expires.

     

    HTTPS only.  No way to specify port with the powershell cmdlet used in this script.

     

    Arguments to supply -  the URL, days out to mark as warn, days out to mark as critical.

     

    After assigning to a node, or in the template if you desire, you can add additional powershell monitors and paste the script in order to monitor additional URLs.

     

    So define all URLs and assign to single node, or assign to multiple nodes and have it monitor the certs specific to that node.

     

    Anyone wanting to take this a bit further to where you can specify a port (ie. 636) or make it easier to specify multiple URLs...please do.