Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 11:14:12 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Garance A Drosihn <drosih@rpi.edu>, bsd-freak@mbox.com.au, questions@freebsd.org
Subject:   Re: ping failure script
Message-ID:  <200112190914.fBJ9Eri26648@lv.raad.tartu.ee>
In-Reply-To: <p05101004b84536ec64a9@[128.113.24.47]>
References:  <113fc9110004.110004113fc9@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

> At 2:03 PM +1100 12/17/01, BSD Freak wrote:

> >IF 3 consecutive pings to my.host.com fail  THEN
> >echo "Link is DOWN!!" | mail me@mycompany.com
> >end
> 
> Check the 'fping' module in ports.  It is designed to make this
> sort of checking much easier (particularly if you are checking
> multiple hosts).

Also worth mentioning is /usr/ports/net/icmpmonitor.
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* Shell to DOS... Come in DOS, do you copy? Shell to DOS...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112190914.fBJ9Eri26648>