[SATLUG] program or cron job to ping internal devices & email

Wayne Walker wwalker at bybent.com
Thu Jan 17 14:54:33 CST 2008

for i in long list of ips
	ping -c 5 && mail -s $ip twisted at pickle.com < /etc/device_down_message

On Wed, Jan 16, 2008 at 05:05:30AM -0600, twistedpickles wrote:
> Does know or have a program or cron job that can ping network devices and if
> down send out an email?
> -- 
> ::twistedPickles:: :
> -- 
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)


Wayne Walker

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.bybent.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net

More information about the SATLUG mailing list