PHP Class EricMakesStuff\ServerMonitor\Monitors\SSLCertificateMonitor

Inheritance: extends BaseMonitor
Exibir arquivo Open project: ericmakesstuff/laravel-server-monitor Class Usage Examples

Protected Properties

Property Type Description
$alarmDaysBeforeExpiration array
$certificateAdditionalDomains array
$certificateDaysUntilExpiration integer
$certificateDomain string
$certificateExpiration string
$certificateInfo array
$url string

Public Methods

Method Description
__construct ( array $config )
getAlarmDaysBeforeExpiration ( )
getCertificateAdditionalDomains ( )
getCertificateDaysUntilExpiration ( )
getCertificateDomain ( )
getCertificateExpiration ( )
getCertificateInfo ( )
getUrl ( )
hostCoveredByCertificate ( $host, $certificateHost, array $certificateAdditionalDomains = [] )
processCertificate ( $certificateInfo )
runMonitor ( )

Protected Methods

Method Description
downloadCertificate ( $urlParts )
parseUrl ( $url )

Method Details

__construct() public method

public __construct ( array $config )
$config array

downloadCertificate() protected method

protected downloadCertificate ( $urlParts )

getAlarmDaysBeforeExpiration() public method

getCertificateAdditionalDomains() public method

getCertificateDaysUntilExpiration() public method

getCertificateDomain() public method

getCertificateExpiration() public method

getCertificateInfo() public method

public getCertificateInfo ( )

getUrl() public method

public getUrl ( )

hostCoveredByCertificate() public method

public hostCoveredByCertificate ( $host, $certificateHost, array $certificateAdditionalDomains = [] )
$certificateAdditionalDomains array

parseUrl() protected method

protected parseUrl ( $url )

processCertificate() public method

public processCertificate ( $certificateInfo )

runMonitor() public method

public runMonitor ( )

Property Details

$alarmDaysBeforeExpiration protected_oe property

protected array $alarmDaysBeforeExpiration
return array

$certificateAdditionalDomains protected_oe property

protected array $certificateAdditionalDomains
return array

$certificateDaysUntilExpiration protected_oe property

protected int $certificateDaysUntilExpiration
return integer

$certificateDomain protected_oe property

protected string $certificateDomain
return string

$certificateExpiration protected_oe property

protected string $certificateExpiration
return string

$certificateInfo protected_oe property

protected array $certificateInfo
return array

$url protected_oe property

protected string $url
return string