Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 323 Bytes

File metadata and controls

17 lines (14 loc) · 323 Bytes

serverMonitor

Automatic monitoring of website service status.

Automatically restart the service when the service is down.

Support monitoring the following services:

  • Elasticsearch
  • Nginx
  • PHP-fpm
  • MariaDB
  • Redis

Usage

Add this script to the crontab.

*/1 * * * * /path/to/serverMonitor/serverMonitor.sh