phpservermon

Edgar Ostrowski aad1a1eda7 Update of Polish translation (#985) 3 weeks ago
.github fd820dea06 Create dependabot.yml 1 month ago
cron bd6510b188 cron update over the web via secret key (#888) 5 months ago
docs d0f5d18fc4 Added support for Discord using Webhooks (#971) 1 month ago
logs af5334a073 Jabber (XMPP) notifications (#852) 5 months ago
puphpet 1f2dde3963 Removed default mysql port settings from files and left empty values (#403) 2 years ago
src aad1a1eda7 Update of Polish translation (#985) 3 weeks ago
.gitattributes 3af2b23518 Update .gitattributes 4 years ago
.gitignore b346cd9c4d Fixed fail to ping IPv6 #879 (#880) 5 months ago
.htaccess b0add8c210 Added some basic pagespeed settings 3 years ago
CHANGELOG.rst be83403834 Added correct version number 1 month ago
LICENSE 46fd5e7282 moving changelog + license to root 6 years ago
Makefile 019d4050ac File mode changed from 775 to 644 7 months ago
README.rst d0f5d18fc4 Added support for Discord using Webhooks (#971) 1 month ago
SECURITY.md 450d5e9dcc Create SECURITY.md 1 year ago
Vagrantfile 93ddf5139b Adding Vagrantfile w/ puphpet configuration for easy development 5 years ago
composer.json 9fe598d774 Increased graph data processing speed (#944) 1 month ago
composer.lock 51949657c8 Bump symfony/dependency-injection from 3.4.43 to 3.4.44 (#1000) 3 weeks ago
composer.phar be9e3f7c88 Updated composer 1 year ago
config.php.sample bd6510b188 cron update over the web via secret key (#888) 5 months ago
favicon.ico f038ccbff1 new favicon (with higher res available) 6 years ago
favicon.png c19aa70781 Compressed images 6 years ago
index.php 2c51ad12f7 Implementing the PSR12 standard 9 months ago
install.php 2c51ad12f7 Implementing the PSR12 standard 9 months ago
manifest.json 019d4050ac File mode changed from 775 to 644 7 months ago
phpservermon.png 019d4050ac File mode changed from 775 to 644 7 months ago
service-worker.js 1358929958 Prevent loading main page if installed in subdirectory (fix #869) (#870) 5 months ago
updater.sh 7fbab86064 Set target shell 9 months ago

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.6.0.beta2

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, Discord, 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 -
* Inetworx -
* Messagebird -
* Mosms -
* Smsglobal -
* SMSit -
* Spryng -
* Textmarketer -
* FreeVoipDeal -
* Nexmo -
* OctoPush -
* FreeMobile (FR) -
* Twilio -
* CM Telecom -
* GatewayAPI -
* SolutionsInfini -
* Plivo -
* Callr -
* SMSAPI -
* OVH SMS PRO -



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