The main feature that it's so simple, that could be run almost everywhere.
PHP
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7cda545 Dec 30, 2016
Permalink
Failed to load latest commit information.
.gitignore *argv *# *response Jun 23, 2015
LICENSE Initial commit Dec 18, 2013
README.md *ipv4 Jun 23, 2015
monitor.php *timing fixes Dec 30, 2016
server.list v.0.0.1 Dec 18, 2013

README.md

simple-php-site-monitor

The main feature that it's so simple, that could be run almost everywhere.

Usage

Add to cron:
*/5 * * * * /usr/bin/php /path/to/simple-php-site-monitor/monitor.php 'mail@domain.com, mail2@domain.com' 'http://webhook1.com/do?text=###message###, http://webhook1.com/do2?text=###message###' >> /path/to/simple-php-site-monitor/cron.log

Params:

  • (0) /path/to/monitor.php
  • (1) (optional) email (comma-separated list)
  • (2) (optional) webhook URL (comma-separated list) with vars: ###message###