[CodeCanyon] Server monitor v1.1.0 07-06-2013, 02:59 AM
#1
![[Image: previews.jpg]](http://1.s3.envato.com/files/4658758/previews.jpg)
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.
Spoiler:
Code:
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.[hide]Download Link
VirusTotal Link
[/hide]
Code:
https://mega.co.nz/#!INAWGaKL!CVzssCBsYxO-jS5lSE92xmMNfZ4rINXO1nylBQlmZpM
or
http://ge.tt/5qgkfWk/v/0?cVirusTotal Link
Code:
https://www.virustotal.com/fr/file/071821c2292036257d970d993a0f477d409c50347645edef2fc95536270f9dd6/analysis/1372473162/![[Image: lkPrcKW.png]](http://i.imgur.com/lkPrcKW.png)


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)