PHP Class EricMakesStuff\ServerMonitor\Notifications\Notifier

Mostra file Open project: ericmakesstuff/laravel-server-monitor Class Usage Examples

Protected Properties

Property Type Description
$config array
$log Illuminate\Contracts\Logging\Log
$serverName

Public Methods

Method 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 )

Protected Methods

Method Description
sendNotification ( string $eventName, string $subject, string $message, string $type )

Method Details

__construct() public method

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

diskUsageAlarm() public method

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

diskUsageHealthy() public method

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

httpPingDown() public method

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

httpPingUp() public method

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

sendNotification() protected method

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

sslCertificateExpiring() public method

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

sslCertificateInvalid() public method

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

sslCertificateValid() public method

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

Property Details

$config protected_oe property

protected array $config
return array

$log protected_oe property

protected Log,Illuminate\Contracts\Logging $log
return Illuminate\Contracts\Logging\Log

$serverName protected_oe property

protected $serverName