Cron: Pinging Hosts

“I realised a while ago that it would be a useful thing to
check, occasionally, that all the machines I’m responsible for are
still up. (This helps to minimise those embarrassing ‘Oh, I didn’t
know there was anything wrong with it’ conversations.)

“Thus, the following pretty basic perl script, which I run from
/etc/crontab on my own desktop every couple of hours…”

Complete Story

Related Story:

Linux Journal: An Overview of ping
(Oct 13, 2005)