Summary
It's easy to run PHP Pinger to get by e-mail results of the run.
Two levels are available: always send me a report, or e-mail me only if a host is down.
You can receive launch a run by visiting a webpage, or by making a CRON task.
You can find those examples in example-cron.php
file!
With callback functions, you can display result of a run on a HTML page.
HTML output is done with a callback function; You are free to format it how you want it.
Label | host:port | Result |
---|---|---|
Google FR | google.fr:80 | online |
Google SSL | www.google.com:443 | online |
404.google.com | 404.google.com:80 | offline |
SSH example | example.com:22 | offline |
Good example | example.com:80 | online |
You can find those examples in example-html.php
file!