Wanting to continuously check if a server is losing connectivity, I quickly put togethor a small perl script to do the job.
Open the file and edit the variables to determine debug status, email details, server ip etc.
By default it sends a ping every second. If this test fails 5 times in a row, a report is sent via mail.
Disable debug for it to run silently in the background.
Download
pingstatus.pl (2.4 KiB, 2,590 hits)