Server monitoring command for Laravel

Server Monitoring is a package that will periodically monitor the health of your server and website. It provides health / alarm status notifications for disk usage, an HTTP Ping function to monitor the health of external services, and a validation / expiration monitor for SSL certificates.

This package works by configuring a configuration file and then having a monitor:run artisanal order fixed on a schedule. When it runs, it will alert you via email, pushover, slack, or connected to the file system.

It currently supports the following monitors:

Disk Usage Monitors

Disk usage monitors check the percentage of storage space 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 verify that a certain phrase is included in the source of the page.

SSL certificate monitors

SSL Certificate Monitors extract the SSL certificate for the configured URL and ensure that it is valid for that URL. Generic and multi-domain certificates are supported.

The monitor will alert if the certificate is invalid or expired, and also alert when the expiration date is approaching. Alert days before expiration are also configurable.

You can read more about this package on Github.


Source link