library domain-certificate-check
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
wolnosciowiec/domain-certificate-check
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
- Friday, March 31, 2017
- by blackandred
- Repository
- 2 Watchers
- 1 Stars
- 29 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 7 % Grown
DomainCertificateCheck
A Zend Diagnostics check that notifies about the upcoming expiration of your domains., (*1)
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
$runner = new Runner();
$check = new Wolnosciowiec\DomainCertificateCheck\Check\DomainCertificateCheck(
['wolnosciowiec.net', 'cdn1.wolnosciowiec.net'],
14,
3
);
$results = $runner->run();
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 }
dev-master
9999999-dev
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
Sources
Download
LGPLv3
The Requires
The Development Requires
1.0.1
1.0.1.0
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
Sources
Download
LGPLv3
The Requires
The Development Requires