One time check if a Web site is reachable and log if not.
Typically called using cron
on a regular basis
Check Web site using curl
Log unreachable result using syslog
Host to be tested and port (eg 8000 instead of 80) are configurable.
Git source: https://github.com/dessyd/test-internet.git
Tx.