The situation is pretty bad but the software you're looking for would be extremely 
easy to write.
a simple shell/perl/... script and it'd be no problem

from the ping man page 
     If ping does not receive any reply packets at all it will exit with code
     1.  If a packet count and deadline are both specified, and fewer than
     count packets are received by the time the deadline has arrived, it will
     also exit with code 1.  On other error it exits with code 2. Otherwise it
     exits with code 0. This makes it possible to use the exit code to see if
     a host is alive or not.
so just write somethin to catch the error script and be done

On Mon, Apr 30, 2001 at 12:03:34PM -0400, Ryan Dlugosz wrote:
> Hello all,
> I've got an interesting situation.  Here's a breakdown:
> 1. Web/email server sitting alone in a basement
> 2. It needs to remain online as much as possible
> 3. The network (eth0) occasionally dies if the network goes down... For
> whatever reason, it doesn't always come back online when the network does.
> 4. No one will be in close proximity for a long time to reboot it to fix the
> network (this seems to do the trick pretty well).
> 5. You can't connect to it remotely to restart (eth0 is down - no modem).
> So... what do I do?  Set up a cron job to reboot it a couple times a day to
> fix it in case it happens to be down?  That seems to be a bad solution to
> this problem.
> Perhaps there is a package that will monitor the Internet connectivity
> somehow and automatically reboot if there is none?  Possibly ping a couple
> of remote servers & if we can't reach any of them, restart & try again?
> What do ya'll think?  I need to implement something this week.
> Thanks for any ideas,
> Ryan Dlugosz
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
Mitchell Henderson              [EMAIL PROTECTED]
                    314/935-4341    



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to