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ex8bLQa1qrxDs1xz13j5KQWNWmAC2x4GEEgvWEGFXuHgZk+XgP5KYEzsdhxygCMO
 Nf5hNbLkKP49aZQi2xM7eIHasCDa7ePsWd8QuPIE1qc0IO4JjwDQujmxtHmb+mvq
 OB7Uuni8ir3EZmUnnEFS6dt5JKxwjKhRQmV5qDbM4gu/1D0TnePQ8mNicnt+3Q6c
 M2DDyWjLdE2pnFpLtvTRN3NLz+kDMbr+G71ahBOIvqv+7sDR+AlQC4FYqn+LNt+e
 BkAq/2vmgC+xOZAn3T7+3xM2iWHXQ9H1eV0eOnqi4I1HZU1Yfxel7CQujA6IHhyk
 8a+RZWqbw0vhr5IfptrcLUptcRMZjusbBU3YZxJiG+2MJHvgKGKCXtUKytxqSIrI
 gTSPTVNcdXMCxvziS45k6IRaMGSIQe5+15IoSUZ/mz3zsfkww9d1AWjgWXrtqFhq
 y+1TjpDjJ33gOQdAtTi+WXBi7CZHFgtVSrTLAE4MTjn0zNSplEOzfvWXUlJjnUbc
 0kbNNzJs+4O9C6YJybGGFJXJ+l1AIvKiXGc/lX4tn8f7RpoJHdE=
 =fIzC
 -----END PGP SIGNATURE-----

Merge tag 'v3.4.3' into develop

# gpg: Signature made Thu Sep 26 00:53:00 2019 CEST
# gpg:                using RSA key A1063F1DCFE6981542E4E6AB4D8268DC68E8339D
# gpg: Good signature from "Tim Zandbergen <TimZ99@users.noreply.github.com>" [ultimate]
2019-09-26 00:53:00 +02:00
cron Spacing, indentation and braces 2018-07-12 17:31:00 +02:00
docs Bumped version to 3.4.3 2019-09-26 00:52:42 +02:00
puphpet Removed default mysql port settings from files and left empty values (#403) 2018-08-09 19:16:20 +02:00
src Bumped version to 3.4.3 2019-09-26 00:52:42 +02:00
static Updated table style 2019-09-17 19:20:41 +02:00
.gitattributes Update .gitattributes 2016-05-19 01:22:07 -04:00
.gitignore Update .gitignore (#587) 2018-05-24 06:54:59 +02:00
.htaccess Added some basic pagespeed settings 2016-12-25 23:00:49 +01:00
CHANGELOG.rst Bumped version to 3.4.3 2019-09-26 00:52:42 +02:00
LICENSE moving changelog + license to root 2014-01-07 23:34:54 +01:00
Makefile Added OS input 2019-05-19 01:57:04 +02:00
README.rst Bumped version to 3.4.3 2019-09-26 00:52:42 +02:00
SECURITY.md Create SECURITY.md 2019-09-19 14:39:38 +02:00
Vagrantfile Adding Vagrantfile w/ puphpet configuration for easy development 2014-12-05 15:05:52 +01:00
composer.json Set PHPMailer minimal required version 2019-02-03 20:45:00 +01:00
composer.lock Updated composer 2019-05-19 23:25:00 +02:00
composer.phar Updated composer 2019-05-19 23:25:00 +02:00
config.php.sample Removed default mysql port settings from files and left empty values (#403) 2018-08-09 19:16:20 +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 Spacing, indentation and braces 2018-07-12 17:31:00 +02:00
install.php Spacing, indentation and braces 2018-07-12 17:31:00 +02:00
manifest.json Fixed path to files 2019-05-19 01:57:52 +02:00
phpservermon.png Added ability to easily use a custom theme. (#624) 2019-09-19 17:04:19 +02:00
service-worker.js Fixed path to files 2019-05-19 01:57:52 +02:00
updater.sh Updated wget to curl 2019-05-19 21:18:51 +02:00

README.rst

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

.. image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/erickrf/nlpnet
   :target: https://gitter.im/phpservermon/phpservermon

Version 3.4.3 (Updated design!)


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:

* Clickatell - <https://www.clickatell.com>
* Inetworx - <https://www.inetworx.ch>
* Messagebird - <https://www.messagebird.com>
* Mosms - <https://www.mosms.com>
* Smsglobal - <https://smsglobal.com/>
* SMSit - <https://www.smsit.dk/>
* Spryng - <https://www.spryng.nl>
* Textmarketer - <https://www.textmarketer.co.uk>
* FreeVoipDeal - <https://www.freevoipdeal.com>
* Nexmo - <https://www.nexmo.com/>
* OctoPush - <https://www.octopush.com/>
* FreeMobile (FR) - <https://mobile.free.fr/>
* Twilio - <https://twilio.com>
* CM Telecom - <https://www.cm.com/>
* GatewayAPI - <https://gatewayapi.com/>
* SolutionsInfini - <https://solutionsinfini.com/>
* Plivo - <https://www.plivo.com/>
* Callr - <https://www.callr.com/>



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

.. and browse to http://localhost:8080/psm/.


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