PHP Server Monitor
Clone or download
TimZ99 Downgraded symfony/filesystem to ~3.4 (#656)
Fixes #655.
Downgraded symfony/filesystem to v3.4 (PHP 5.5.9 compatible).
Added 7.0.8 as minimal PHP version for PHP7.
Latest commit 1249e98 Sep 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cron Spacing, indentation and braces Jul 12, 2018
docs Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
puphpet Removed default mysql port settings from files and left empty values (#… Aug 9, 2018
src Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
static Added post field as addition to #631 (#642) Sep 8, 2018
.gitattributes Update .gitattributes May 19, 2016
.gitignore Update .gitignore (#587) May 24, 2018
.htaccess Added some basic pagespeed settings Dec 25, 2016
CHANGELOG.rst Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
LICENSE moving changelog + license to root Jan 7, 2014
Makefile Makefile: changing export name of archives Aug 7, 2014
README.rst Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
Vagrantfile Adding Vagrantfile w/ puphpet configuration for easy development Dec 5, 2014
composer.json Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
composer.lock Downgraded symfony/filesystem to ~3.4 (#656) Sep 17, 2018
composer.phar Added php extensions to required list (#637) Sep 4, 2018
config.php.sample Removed default mysql port settings from files and left empty values (#… Aug 9, 2018
favicon.ico new favicon (with higher res available) Aug 1, 2014
favicon.png Compressed images Oct 18, 2014
index.php Spacing, indentation and braces Jul 12, 2018
install.php Spacing, indentation and braces Jul 12, 2018
updater.sh Added updater.sh shell script (#620) Sep 17, 2018

README.rst

PHP Server Monitor

Join the chat at https://gitter.im/erickrf/nlpnet

Version 3.3.0

PHP Server Monitor is a script that checks whether your websites and servers are up and running. It comes with a web based user interface where you can manage your services and websites, and you can manage users for each server with a mobile number and email address.

Features:

  • Monitor services and websites (see below).
  • Email, SMS, Pushover, Telegram notifications.
  • View history graphs of uptime and latency.
  • User authentication with 2 levels (administrator and regular user).
  • Logs of connection errors, outgoing emails and text messages.
  • Easy cronjob implementation to automatically check your servers.

There are two different ways to monitor a server:

  • Service

    A connection will be made to the entered ip or domain, on the given port. This way you can check if certain services on your machine are still running. To check your IMAP service for example, enter port 143.

  • Website

    You can enter a link to a website, it will then use cURL to open the website and check the HTTP status code. If the HTTP status code is in the 4xx/5xx, it means an error occurred and the website is not accessible to the public. You can also set a regular expression to match for content on the page itself. If the regular expression returns no matches, the website is considered down. In both cases the script will return a "status offline", and will start sending out notifications.

Each server has its own settings regarding notification. You can choose for email, text message (SMS), Pushover.net and Telegram notifications. The following SMS gateways are currently available:

Please note: for these gateways you will need an account with sufficient credits.

Download

The latest version can be downloaded from https://github.com/phpservermon/phpservermon/releases.

Requirements

  • Web server
  • MySQL database
  • For PHP5: 5.5.9+
  • For PHP7: 7.0.8+
  • PHP cURL package
  • PHP PDO mysql driver
  • PHP-XML

Install

Please see docs/install.rst. In a nutshell: unzip, upload, run install.php, enjoy.

If you have downloaded the source from GitHub (and not a pre-built package), the dependencies are not included. To be able to run an installation from the repo, you need to run the following command to install the dependencies:

php composer.phar install

If you are familiar with Vagrant (https://www.vagrantup.com):

vagrant up

Documentation

The documentation is available in the docs folder or http://docs.phpservermonitor.org.

License

PHP Server Monitor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PHP Server Monitor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PHP Server Monitor. If not, see http://www.gnu.org/licenses/.

Docker

PHPServerMonitor is now available on Docker : https://github.com/phpservermon/docker-phpservermonitor