Go to file
TimZ99 e69ae1f375 Security update. jQuery vulnerability CVE-2020-11022 and CVE-2020-11023.
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEoQY/Hc/mmBVC5OarTYJo3GjoM50FAl8zwgcACgkQTYJo3Gjo
 M53YOxAA4hTTVmxr721bXZilKFDblNjGg7GJ8n1eSaa6KsYDfaaFar0M5KLPqwbV
 zupGTZK4GNPAd7lywOQsFJDyQQ1OtlRxJ1sYmSuiSBcsfRj2VfKoH463P01PxuEv
 wmSCCDCe6tdpnS2Fy3rpUL2gQmsZtF1OQatV5m9VgV8BBe9tNPhnAdTA6ZO75ofB
 jtDB2gBl1Tdp6vwNa1oa5I2xl4vgPG5zVT571z7ubIbPG8fNgBjYwu587kwZFDqy
 nvN8atkNA6+CJCrFH67kXw4Ao7r8z0gbhy/85a9gWPSLnn53HYZX65PmPqGsSZQL
 MHE8acu3vERFwDiweJwPYILJNv5+Z2xkrMwOeWXS1LawjlX+VMNkHAX+tHKIBK6M
 g7IhDuW2CNfwB6eiHGXosLPxsGzIIN4I1SLo5zLvGQvDbFKlxO/+YT5ZHCbQPw7P
 tT6umF27ULIxTSAlM/Ray8nbUJkFxi5++tvT1GX2RCexPeeSwmU2xZJDPrqqW8e6
 5VhZdOOjI+yTJVpxcySrVH2d2wDx9IHuYb1ImGq3tUM+PJzwJ4hToln32zB/rKWK
 0kPEU5kiM//09dMyDxOKRGqnIOy1klHw4Rbdf6ZEIEN0okUi5jNq6LkGXut7Eh7U
 //L8A5G8Lu1RAsZ66J5Nt5e47XTR2YA8cDRgz3Fvedw4oZJj020=
 =NTB1
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEoQY/Hc/mmBVC5OarTYJo3GjoM50FAl8zwgcACgkQTYJo3Gjo
 M50kNhAAuOehEe9EwCgSIAVBmoONpEskpX+dgLMCKQa7SX4bRrnXgtqAxEdxxhvE
 alHEJKhx+SEI/m/X0ExUHix8Vrzc3sInWIsxjG51MmHucNMfCwxOmz/sLz/jYER0
 ZHvhUxOafIjpWn0eByOls858aovVd6eNrWJS0c9K8VzNxmTBAjc1sDtkl9deRYjB
 BZ4cT/623OBqI1GEBrrxZIL+FZ573wnruZCWq2fezr72gfI9J4+LZxgVjG80c5n+
 3MsCLkI2KN/1ETd9iOybuoGRhhNKABNaboNssgM7alpAsF4O88F03dNfMD+I1jAd
 fqwGA4R5wJDtahcVwiDfoIqLk0hJIDQ7EwWpCsOPVHmNJmQ8/Iradesq77v4b3qk
 gQCt0lL5zSD6SVjT026EdJ0w5d0fmUTNzEvRgH0PlS3L7GzLxvG7cGDCTJNQK2HH
 mdjJGSHuc+SaM5XzGLOa3FRor+/V9Ljt6rC1ALL6H59u86Ef1d2yeXuz/2Oa6Q8Z
 2rbksZz5+5a8aUCi/1Vh2Lqk3YafvxbMzOU4ZGqEeyqc8vPtBRrt1YCig3J3i+zi
 cllYMWvwZlOYwd0mqA3MzYX8vL0J7WohbvZEtYq2srY3alCdi4RlW0G+HcEYrKjy
 73ti6yN10/bLEBf1P/IWADT6oi0O2SHCbC+3OGgCxbghnSpI5M0=
 =CBnn
 -----END PGP SIGNATURE-----

Merge tag 'jQuery-security-update' into develop

Security update. jQuery vulnerability CVE-2020-11022 and CVE-2020-11023.

# gpg: Signature made Wed Aug 12 12:18:47 2020 CEST
# gpg:                using RSA key A1063F1DCFE6981542E4E6AB4D8268DC68E8339D
# gpg: Good signature from "Tim Zandbergen <TimZ99@users.noreply.github.com>" [ultimate]
2020-08-12 12:18:47 +02:00
.github Added Paypal and bunq 2020-04-19 12:59:02 +02:00
cron cron update over the web via secret key (#888) 2020-04-19 14:19:33 +02:00
docs Ability to pan & zoom on charts (#926) 2020-05-25 18:12:43 +02:00
logs Jabber (XMPP) notifications (#852) 2020-04-19 15:31:40 +02:00
puphpet Removed default mysql port settings from files and left empty values (#403) 2018-08-09 19:16:20 +02:00
src Security update. jQuery vulnerability CVE-2020-11022 and CVE-2020-11023. 2020-08-12 12:18:47 +02:00
.gitattributes Update .gitattributes 2016-05-19 01:22:07 -04:00
.gitignore Fixed fail to ping IPv6 #879 (#880) 2020-04-19 14:41:29 +02:00
.htaccess Added some basic pagespeed settings 2016-12-25 23:00:49 +01:00
CHANGELOG.rst Bumped version to 3.5.0 2020-05-01 02:36:18 +02:00
LICENSE moving changelog + license to root 2014-01-07 23:34:54 +01:00
Makefile File mode changed from 775 to 644 2020-02-09 18:04:26 +01:00
README.rst Add SMSAPI to list of supported SMS gateways 2020-05-18 09:10:16 +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 Jabber (XMPP) notifications (#852) 2020-04-19 15:31:40 +02:00
composer.lock Bump phpmailer/phpmailer from 6.1.3 to 6.1.6 (#941) 2020-05-27 16:47:48 +00:00
composer.phar Updated composer 2019-05-19 23:25:00 +02:00
config.php.sample cron update over the web via secret key (#888) 2020-04-19 14:19:33 +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 Implementing the PSR12 standard 2019-12-11 21:27:04 +01:00
install.php Implementing the PSR12 standard 2019-12-11 21:27:04 +01:00
manifest.json File mode changed from 775 to 644 2020-02-09 18:04:26 +01:00
phpservermon.png File mode changed from 775 to 644 2020-02-09 18:04:26 +01:00
service-worker.js Prevent loading main page if installed in subdirectory (fix #869) (#870) 2020-04-19 14:30:13 +02:00
updater.sh Set target shell 2019-12-12 17:07:21 +01: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.5.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 and Jabber 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, Telegram and Jabber 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/>
* SMSAPI - <https://www.smsapi.com/en>



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 Extensions (modules)

  * ext-curl
  * ext-ctype
  * ext-filter
  * ext-hash
  * ext-json
  * ext-libxml
  * ext-openssl
  * ext-pdo
  * ext-pcre
  * ext-sockets
  * ext-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 https://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 https://www.gnu.org/licenses/.

Docker
-------

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