PHP Server Monitoring Script

We’ve been having some issues with the availability of the LSUCS server recently, so I decided to try and put some monitoring in place. Unfortunately we’re not in the position to deploy a full monitoring suite with heartbeat monitoring etc.

So I developed a PHP script to check the status of the server remotely. This is done by checking the IP address, and connections on specified ports. The script can be configured to sends status emails, and to send error emails.

The script also accesses data from a remote PHP script on the monitored server to access disk usage data if available.

The script can be downloaded from here.

The script will probably be changed over time to support multiple servers and extra functionality.

26 Jan 2008: I’ve added support for multiple servers and extra features (see code for full details). The link above now points to the latest version.

0 Response to “PHP Server Monitoring Script”


  • No Comments

Leave a Reply