Servermonitor is a script that helps you monitor your servers and services. You can maken a list of services you want to monitor and directly check if they are online or make a cronjob that will check every hour and email the results to your mailbox.
How to use Below you find example of how you can use the servermonitor class.
include("servermonitor.php"); $Monitor = new ServerMonitor(); $Monitor->add("Local server", "192.168.1.106", 8888); $Monitor->add("Google server", "google.be", 80); $Monitor->add("Test server", "82.68.47.54", 80); $Monitor->add("Local MySQL server", "192.168.1.106", 8889); $Monitor->add("Sitebase Server", "sitebase.be", 80);
$results = $Monitor->run(); The variable $results will contain an array with the results.
Updates
v1.1.0 (01/06/2011) * New help file * Extra example
v1.0 (06/06/2009) * Initial version released