Go to file
Luis Rodriguez c19aa70781 Compressed images 2014-10-18 17:22:10 -04:00
cron allow urls to be generated from cli, with the help of argument --uri= 2014-09-12 09:05:52 +02:00
docs updating changelog/credits for #132 / #134 2014-09-26 22:06:33 +02:00
src Merge pull request #131 from davyrolink/201409_cli-url 2014-09-26 21:58:05 +02:00
static Compressed images 2014-10-18 17:22:10 -04:00
.gitattributes changing release version to 3.0.1; 2014-04-12 13:52:59 +02:00
.gitignore ignore my project file 2014-10-18 17:17:48 -04:00
CHANGELOG.rst updating changelog/credits for #132 / #134 2014-09-26 22:06:33 +02:00
LICENSE moving changelog + license to root 2014-01-07 23:34:54 +01:00
Makefile Makefile: changing export name of archives 2014-08-07 13:48:33 +02:00
README.rst bumping version to 3.1.0 2014-08-07 14:25:16 +02:00
composer.json issue #117: Replacing Template service with Twig and implementing Twig in all modules/utils 2014-08-05 15:19:17 +02:00
composer.lock issue #117: Replacing Template service with Twig and implementing Twig in all modules/utils 2014-08-05 15:19:17 +02:00
composer.phar issue #55: adding xhr functionality to controllers 2014-04-24 23:50:47 +02:00
config.php.sample removing closing tag from generated config 2014-08-07 13:05:34 +02:00
favicon.ico new favicon (with higher res available) 2014-08-01 11:38:16 +02:00
favicon.png Compressed images 2014-10-18 17:22:10 -04:00
index.php fixing fatal error after deleting server; 2014-03-28 16:52:04 +01:00
install.php fixing fatal error after deleting server; 2014-03-28 16:52:04 +01:00

README.rst

PHP Server Monitor
==================

Version 3.1.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 and Pushover 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 range, 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) and Pushover.net notifications.
The following SMS gateways are currently available:

* Clickatell - <https://www.clickatell.com>
* Inetworx - <http://www.inetworx.ch>
* Mollie - <http://www.mollie.nl>
* Mosms - <http://www.mosms.com>
* Smsglobal - <http://smsglobal.com/>
* SMSit - <http://www.smsit.dk/>
* Spryng - <http://www.spryng.nl>
* Textmarketer - <http://www.textmarketer.co.uk>

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


Download
--------

The latest version can be downloaded from http://www.phpservermonitor.org/.


Requirements
------------

* Web server
* MySQL database
* PHP 5.3.7+
* PHP cURL package
* PHP PDO mysql driver


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



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/.