Simple "ping" script

2007-12-25 0:24:00

Anyone has a script, sample cron job, or know of a web site w/download
scripts that do the following: (need for Solaris 8, not any other OS)

ping a host, if host alive --do nothing, if host not respond --send
an e-mail to pager 1234567890 at somepager.com w/a short text message.
(of course the script is run on a machine that's alive in the first
place and able to send mail).

I'm not looking for a complex program or script/cgi (ie. Mon Program,
http://www.kernel.org/software/mon/) something more simple (like above).

Thanks.

- Mike

"Those willing to give up a little liberty for a little security
deserve neither security nor liberty."
-- Benjamin Franklin

Comments

Got something to say?

You must be logged in to post a comment.