PHP Class EricMakesStuff\ServerMonitor\Notifications\Notifier

Afficher le fichier Open project: ericmakesstuff/laravel-server-monitor Class Usage Examples

Protected Properties

Свойство Type Description
$config array
$log Illuminate\Contracts\Logging\Log
$serverName

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Logging\Log $log )
diskUsageAlarm ( DiskUsageMonitor $diskUsageMonitor )
diskUsageHealthy ( DiskUsageMonitor $diskUsageMonitor )
httpPingDown ( HttpPingMonitor $httpPingMonitor )
httpPingUp ( HttpPingMonitor $httpPingMonitor )
sslCertificateExpiring ( SSLCertificateMonitor $sslCertificateMonitor )
sslCertificateInvalid ( SSLCertificateMonitor $sslCertificateMonitor )
sslCertificateValid ( SSLCertificateMonitor $sslCertificateMonitor )

Méthodes protégées

Méthode Description
sendNotification ( string $eventName, string $subject, string $message, string $type )

Method Details

__construct() public méthode

public __construct ( Illuminate\Contracts\Logging\Log $log )
$log Illuminate\Contracts\Logging\Log

diskUsageAlarm() public méthode

public diskUsageAlarm ( DiskUsageMonitor $diskUsageMonitor )
$diskUsageMonitor EricMakesStuff\ServerMonitor\Monitors\DiskUsageMonitor

diskUsageHealthy() public méthode

public diskUsageHealthy ( DiskUsageMonitor $diskUsageMonitor )
$diskUsageMonitor EricMakesStuff\ServerMonitor\Monitors\DiskUsageMonitor

httpPingDown() public méthode

public httpPingDown ( HttpPingMonitor $httpPingMonitor )
$httpPingMonitor EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor

httpPingUp() public méthode

public httpPingUp ( HttpPingMonitor $httpPingMonitor )
$httpPingMonitor EricMakesStuff\ServerMonitor\Monitors\HttpPingMonitor

sendNotification() protected méthode

protected sendNotification ( string $eventName, string $subject, string $message, string $type )
$eventName string
$subject string
$message string
$type string

sslCertificateExpiring() public méthode

public sslCertificateExpiring ( SSLCertificateMonitor $sslCertificateMonitor )
$sslCertificateMonitor EricMakesStuff\ServerMonitor\Monitors\SSLCertificateMonitor

sslCertificateInvalid() public méthode

public sslCertificateInvalid ( SSLCertificateMonitor $sslCertificateMonitor )
$sslCertificateMonitor EricMakesStuff\ServerMonitor\Monitors\SSLCertificateMonitor

sslCertificateValid() public méthode

public sslCertificateValid ( SSLCertificateMonitor $sslCertificateMonitor )
$sslCertificateMonitor EricMakesStuff\ServerMonitor\Monitors\SSLCertificateMonitor

Property Details

$config protected_oe property

protected array $config
Résultat array

$log protected_oe property

protected Log,Illuminate\Contracts\Logging $log
Résultat Illuminate\Contracts\Logging\Log

$serverName protected_oe property

protected $serverName