Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wolnosciowiec-archive/domaincertificatecheck

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
https://github.com/wolnosciowiec-archive/domaincertificatecheck

ssl-certificate-check ssl-certificates ssl-monitoring ssl-validation symfony zend-diagnostics zend-framework

Last synced: 10 days ago
JSON representation

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.

Awesome Lists containing this project

README

        

DomainCertificateCheck
======================

A [Zend Diagnostics](https://github.com/zendframework/ZendDiagnostics) check that notifies about the upcoming expiration of your domains.

### Configuration

- domains: List of domains eg. ['wolnosciowiec.net', 'cdn1.wolnosciowiec.net']
- daysRemainingToWarn: Days remaining to raise a warning for a domain
- daysRemainingToFail: Days remaining to raise a failure for domain, if you have Zend Diagnostics in composer then eg. the deployment could be cancelled
and marked as failed

## Setup in plain PHP

```php
run();
```

## Integration with Symfony and [LiipMonitorBundle](https://github.com/liip/LiipMonitorBundle)

```
services:
monitor.check.domain_certificate:
class: Wolnosciowiec\DomainCertificateCheck\Check\DomainCertificateCheck
arguments:
domains: ['wolnosciowiec.net', 'cdn1.wolnosciowiec.net']
daysRemainingToAlert: 14
daysRemainingToWarn: 3
tags:
- { name: liip_monitor.check, alias: domain_certificate }
```