Server monitor

by Sitebase

Features

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.

Use

Below you find example of how you can use the servermonitor class.

include("servermonitor.php");
$Monitor = new ServerMonitor();
$Monitor->AddTask("Local server", "192.168.1.106", 8888);
$Monitor->AddTask("Google server", "google.be", 80);
$Monitor->AddTask("Test server", "82.68.47.54", 80);
$Monitor->AddTask("Local MySQL server", "192.168.1.106", 8889);
$Monitor->AddTask("Sitebase Server", "sitebase.be", 80);

$results = $Monitor->DoTasks();

The variable $results will contain an array with the results.

$5

Prepaid customers
pay just $3 - how? Prepay Your Account With our deposit system not only will purchasing be much faster, but we’ll also take $2 off the price! Find Out More Price

You must sign in or sign up to purchase this item.

12345 ( 21 ratings )

Purchase 88 purchases

File Types Included
PHP
Item Attributes
Created 6 August 09
PHP Version 5.x
MySQL Version N/A
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Safari
PHP Files Included PHP
PHP Framework N/A