Category Archives: Releases

PHP Server Monitor v2.1.0 released

And again, it has been a while since the last release. But at last, a new update is now available for download. The 2.1.0 release of PHP Server Monitor contains several updates contributed by the open source community, for which a big thanks to everyone (see the README file for credits). One of the contributions is a brand new layout using Twitter Bootstrap to give the monitor a fresh look.

Click here to download the latest version.

An overview of the changes:
– Merged PHP Server Monitor Plus project (the Twitter Bootstrap layout).
– In addition to HTTP status code check, regular expression search has been added to check for certain content on a website.
– New SMS providers: Mosms and Textmarketer.
– New languages: Korean, Portuguese / Brazilian.
– Large status page.
– Cronjob will be prevented from running multiple times (with a 10 minutes timeout).
– New install module.

The folder structure of the project has been changed quite a bit, including the name and format of the config file. In order to upgrade to the latest version, it is recommended to replace all files EXCEPT config.inc.php with the files from the new release, then navigate to the install.php script. The install script will guide you through the upgrade process. It will update your current database to keep your servers, users and settings.

If you are installing for the first time, just upload all your files to your webserver and navigate to the install.php script.
For more information please go to the project page (http://www.phpservermonitor.org), or if you want to contribute you can clone the git repository from http://github.com/phpservermon/phpservermon.

Thanks to every one for using server monitor. Bug reports and feature requests are most welcome.

Regards,
Pep

PHP Server Monitor v2.0.0 released

It’s been a while since the last release, but finally the new version has arrived: PHP Server Monitor 2.0 has been released.

PHP Server Monitor is a script that checks whether the servers on your list are up
and running on the selected ports.

It comes with a web based user interface where you can add and remove servers or websites from the MySQL database,
and you can manage users for each server with a mobile number and email address.
With version 2.0 comes the support for websites as well. On the “Add server” page, you can choose
whether it’s a “service” or a “website”:

* 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
The previous version only tried to establish a connection to the server on port 80. If you are running multiple
websites on 1 machine, there was no proper way to check each website for possible errors. Also it was impossible to make
sure your site was really up and running, all you knew was that the server was still online.
This function takes care of that.

You can enter a link to a website (for example http://sourceforge.net/index.php), it will use cURL to open the website and
check the HTTP status code (see http://en.wikipedia.org/wiki/List_of_HTTP_status_codes for details).
If the HTTP status code is in the 4xx range, it means an error occured and the website is not accesible to the public.
In that case the script will return a “status offline”, and will start sending out notifications.
The previous version sent you a notification every time a server was down or unreachable. Version 2 allows you to choose for a different setting. You can choose to only receive notifications if the status changes, if the server goes offline for the first time only, or the way it used to be.

Each server has it’s own settings regarding notification.
You can choose for email notification or text message (SMS). As of version 2.0, there are 3 gateways
available:
* Mollie – http://www.mollie.nl
* Spryng – http://www.spryng.nl
* Inetworx – http://www.inetworx.ch
For these gateways you need an account with sufficient credits.

If logging is enabled in the configuration, it will log any connection errors, emails and text messages sent.
The latest log records will be displayed on your web interface.

The cron/status.cron.php can be added as a cronjob which will keep the server status up to date.
This version of the monitor features 2 languages: English and Dutch. Unfortunately it is not compatible with the old version, since it’s been rewritten from scratch.

I’d appreciate any feedback you might have regarding this script. Please leave it on the sourceforge
project page (tracker), or send me an email (ipdope[at]users.sourceforge.net).

PHP Server Monitor v2.0.1 released

A minor update for PHP Server Monitor: version 2.0.1 has been released.

It incorporates several minor updates, some of which have been in CVS for a while now. Other issues include small features that have been requested in the tracker or by email.
The changelog of the new version:
– adding german language file (thanks to Brunbaur Herbert)
– adding french language file (thanks to David Ribeiro)
– servers page: auto refresh can be configured at the config page
– servers page: if the server is a website, the “Domain/Ip” field will be a link to the website
– new text message gateway: Clickatell.com (thanks to Simon)
– if cURL is not installed, the install.php script will throw an error
– HTTP status codes 5xx will also be treated as error
– classes/sm/smUpdaterStatus.class.php: the curl option CURLOPT_CUSTOMREQUEST has been changed to CURLOPT_NOBODY.

Updating is quite easy as no database changes have been made. You can download the archive, extract it and overwrite your existing files. If you have made changes to the code yourself, please view CVS to see what has changed. Part of the update is a bit of code clean up, so quite a few files have been changed.

More updates will follow soon. If you have any questions or feedback you’d like to share, please visit the tracker at http://phpservermon.sourceforge.net or send me an email at ipdope[at]users[dot]sourceforge[dot].com.

Regards,
Pep

Version 1.0.1 released

A minor update of the server monitor has been released.

This release fixes a bug in the log display. In the previous version it ordered the entries by the formatted date & time, rather than using the raw data, which resulted in a wrong list of log entries.

No database changes have been made, the only 2 updated files are “log.php”, and “tpl/log.tpl.html”.
Thanks to everyone for using server monitor. Bug reports and feature requests are most welcome.

Regards,
Pep