Simple "ping" script

From: Mike's List (mikelist@sky.net)
Date: Fri Jan 17 2003 - 10:21:39 EST


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@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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:37 EDT