![]() |
|
[CodeCanyon] Server monitor v1.1.0 - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Sharing (https://sinister.li/Forum-Sharing) +--- Forum: Programs (https://sinister.li/Forum-Programs) +--- Thread: [CodeCanyon] Server monitor v1.1.0 (/Thread-CodeCanyon-Server-monitor-v1-1-0) |
[CodeCanyon] Server monitor v1.1.0 - HuRRR - 07-06-2013 ![]() 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
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/ |