神刀安全网

Server Monitoring Command for Laravel

This package works by setting up a config file and then having a monitor:run artisan command set on aschedule. When it runs it will alert you via email, Pushover, Slack, or logged to the filesystem.

It currently supports the following monitors:

Disk Usage Monitors

Disk usage monitors check the percentage of the storage space that is used on the given partition, and alert if the percentage exceeds the configurable alarm percentage.

HTTP Ping Monitors

HTTP Ping monitors perform a simple page request and alert if the HTTP status code is not 200. They can optionally check that a certain phrase is included in the source of the page.

SSL Certificate Monitors

SSL Certificate monitors pull the SSL certificate for the configured URL and make sure it is valid for that URL. Wildcard and multi-domain certificates are supported.

The monitor will alert if the certificate is invalid or expired, and will also alert when the expiration date is approaching. The days on which to alert prior to expiration is also configurable.

You can find out more about this package on Github .

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Server Monitoring Command for Laravel

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址