Server monitor

Server monitor Created by Sitebase. This templates have specific characteristics, namely: Server has features such as Software Version: PHP 5.x .

You can use this Server monitor on Php scripts category for email, offline, online, ping, port scanner, report, script, server, server monitor, services, system status, uptime and another uses.

Server monitor
© Copyright by Sitebase

Features:

  • None: None
  • Php 5.x: PHP 5.x
  • Php: PHP
  • None: None
  • None: None

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 examplev1.0 (06/06/2009)* Initial version released