https://www.phpservermonitor.org/ – 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.
FYI you can setup an Ubuntu Vutur VM here (my guide here) or a Digital Ocean server here (my guide here) in minutes (and only be charged by the hour). Vultr VMs can be purchased from as low a $2.5 a month (NY location) and Digital Ocean for $5 a month.
Open Source
PHP Server Monitor is an open source project 🙂
https://github.com/phpservermon/phpservermon
Installation
fyi: Installation instructions are located here. More detailed install instructions can be found in the zip file under docs/install.rst.
Go to https://www.phpservermonitor.org/download/ and download the 2.4MB phpservermon-3.2.0.zip then extract it’s 1,0834 items.
Upload the files to your website.
Run the install script https://thesubdomain.thedomain.com/phpservermon-3.2.0/install.php then follow the prompts.
I have already set my time zone so I’ll ignore this warning.
If you want to change the time zone run this command.
Then add the database details. I created the MySQL database and user using the Adminer utility.
I created a config.php as instructed.
Create an account.
Installation Success.
I logged into the pro server monitor webpage that I just installed.
Configuration
I logged into the PHP Server monitor and configured a website to monitor ( at /phpservermon-3.2.0/?&mod=server&action=edit ).
I added this string to the HTML source of the webpages pages to monitor.
I added a few websites to monitor.
Other
Here are the other things you can monitor
Table of objects to monitor
Here is my tale of objects to monitor,
Here is a table of my active servers being monitored (I am monitoring 3x web page content and IP pings).
One is failing because the page does not contain the string I defined 🙂
Integration with custom status pages
todo.
Configure SMS Alerts
The config screen has multiple SMS providers to choose from.
The config screens have links to create a pushover alerts app.
todo: Review crontab.
Recent Feaures
Conclusion
I am happy with the way PHP Server monitor easily monitors my websites.
Donate and make this blog better
Ask a question or recommend an article
[contact-form-7 id=”30″ title=”Ask a Question”]
v1.3 added screenshots of SMS and pushover (6:04pm 30th July 2017 AEST)