2014-04-10 16:29:53 +00:00
|
|
|
PHP Server Monitor
|
|
|
|
==================
|
2014-01-07 19:24:48 +00:00
|
|
|
|
2016-04-29 16:46:25 +00:00
|
|
|
.. image:: https://badges.gitter.im/Join%20Chat.svg
|
|
|
|
:alt: Join the chat at https://gitter.im/erickrf/nlpnet
|
|
|
|
:target: https://gitter.im/phpservermon/phpservermon
|
|
|
|
|
2016-05-19 03:31:40 +00:00
|
|
|
Version 3.2.0
|
2014-04-06 15:59:59 +00:00
|
|
|
|
2016-04-29 16:46:25 +00:00
|
|
|
|
2014-02-10 22:57:40 +00:00
|
|
|
PHP Server Monitor is a script that checks whether your websites and servers are up and running.
|
2014-04-05 13:18:28 +00:00
|
|
|
It comes with a web based user interface where you can manage your services and websites,
|
2014-01-07 19:24:48 +00:00
|
|
|
and you can manage users for each server with a mobile number and email address.
|
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
|
2014-04-05 13:18:28 +00:00
|
|
|
Features:
|
2014-04-10 16:29:53 +00:00
|
|
|
---------
|
2014-04-05 13:18:28 +00:00
|
|
|
|
|
|
|
* Monitor services and websites (see below).
|
2014-07-31 14:30:02 +00:00
|
|
|
* Email, SMS and Pushover notifications.
|
2014-04-05 13:18:28 +00:00
|
|
|
* 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.
|
|
|
|
|
2014-02-10 22:57:40 +00:00
|
|
|
There are two different ways to monitor a server:
|
2014-01-07 20:20:43 +00:00
|
|
|
|
|
|
|
* 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
|
|
|
|
|
2014-02-10 22:57:40 +00:00
|
|
|
You can enter a link to a website, it will then use cURL to open the website and check the HTTP status code.
|
2016-05-15 09:00:49 +00:00
|
|
|
If the HTTP status code is in the 4xx/5xx, it means an error occurred and the website is not accessible to the public.
|
2014-02-10 22:57:40 +00:00
|
|
|
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.
|
2014-02-08 19:14:49 +00:00
|
|
|
In both cases the script will return a "status offline", and will start sending out notifications.
|
2014-01-07 19:24:48 +00:00
|
|
|
|
2014-04-06 17:57:26 +00:00
|
|
|
Each server has its own settings regarding notification.
|
2014-07-31 14:30:02 +00:00
|
|
|
You can choose for email, text message (SMS) and Pushover.net notifications.
|
2014-02-08 18:36:17 +00:00
|
|
|
The following SMS gateways are currently available:
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-01-07 22:32:57 +00:00
|
|
|
* Clickatell - <https://www.clickatell.com>
|
2014-07-31 14:30:02 +00:00
|
|
|
* Inetworx - <http://www.inetworx.ch>
|
|
|
|
* Mollie - <http://www.mollie.nl>
|
2014-01-10 10:32:15 +00:00
|
|
|
* Mosms - <http://www.mosms.com>
|
2014-07-31 14:30:02 +00:00
|
|
|
* Smsglobal - <http://smsglobal.com/>
|
|
|
|
* SMSit - <http://www.smsit.dk/>
|
|
|
|
* Spryng - <http://www.spryng.nl>
|
2014-01-21 22:09:51 +00:00
|
|
|
* Textmarketer - <http://www.textmarketer.co.uk>
|
2014-12-11 12:16:06 +00:00
|
|
|
* FreeVoipDeal - <http://www.freevoipdeal.com>
|
2015-03-01 02:05:18 +00:00
|
|
|
* Nexmo - <https://www.nexmo.com/>
|
2016-05-19 03:38:42 +00:00
|
|
|
* OctoPush - <http://www.octopush.com/>
|
|
|
|
|
|
|
|
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-05 13:18:28 +00:00
|
|
|
Please note: for these gateways you will need an account with sufficient credits.
|
2014-01-07 19:24:48 +00:00
|
|
|
|
2014-02-08 18:36:17 +00:00
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
Download
|
|
|
|
--------
|
2014-01-07 19:24:48 +00:00
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
The latest version can be downloaded from http://www.phpservermonitor.org/.
|
2014-01-07 19:24:48 +00:00
|
|
|
|
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
2014-01-07 19:24:48 +00:00
|
|
|
|
2014-04-10 18:08:46 +00:00
|
|
|
* Web server
|
|
|
|
* MySQL database
|
|
|
|
* PHP 5.3.7+
|
|
|
|
* PHP cURL package
|
|
|
|
* PHP PDO mysql driver
|
2014-01-07 19:24:48 +00:00
|
|
|
|
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
Install
|
|
|
|
-------
|
2014-04-10 18:08:46 +00:00
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
Please see docs/install.rst.
|
|
|
|
In a nutshell: unzip, upload, run install.php, enjoy.
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-24 21:31:48 +00:00
|
|
|
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
|
|
|
|
|
2014-12-05 14:05:52 +00:00
|
|
|
If you are familiar with Vagrant (https://www.vagrantup.com)::
|
|
|
|
|
|
|
|
vagrant up
|
|
|
|
|
|
|
|
.. and browse to http://localhost:8080/psm/.
|
2014-04-24 21:31:48 +00:00
|
|
|
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
Documentation
|
|
|
|
-------------
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
The documentation is available in the docs folder or http://docs.phpservermonitor.org.
|
2014-01-07 20:20:43 +00:00
|
|
|
|
|
|
|
|
2014-04-10 16:29:53 +00:00
|
|
|
License
|
|
|
|
-------
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-10 18:08:46 +00:00
|
|
|
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.
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-10 18:08:46 +00:00
|
|
|
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.
|
2014-01-07 20:20:43 +00:00
|
|
|
|
2014-04-10 18:08:46 +00:00
|
|
|
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/.
|