Re: reboot upon loss of ping
From: Barry S (barry_at_nospam.4.me.thx.com)
Date: 07/24/04
- Next message: Barry S: "Re: gpl license definition of distributing"
- Previous message: Linnix: "Re: Recommendations for miniture linux pc (perhaps with linuxbios?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jul 2004 22:27:35 -0500
In article <40D201F8.5000703@tampabay.rr.com>, James wrote:
> Hello,
>
> I have a piece of electrical (110Vac) equipment that has an ethernet
> port on it. It hangs periodically for unknown reasons. When we roll a
> truck and get a technician to cycle power, all if fine again and in
> answers the pings again(so we know it's alive.
>
> I have an embedded linux board, TS5500 that runs a 2.4 kernel and
> busybox. The distro is called TSlinux. And it has a Elan SC520 (386)
> processor.
>
<snip>
I'm assuming that the piece of equipment and the embedded linux board
are two different pieces of equipment?
If so, then have the linux box run something like fping occassionally to
see if your equipment stays alive. Depending on how robust this linux
box is, you may want to consider using 'mon'. Its a software monitoring
solution that would probably greatly speed up your development time.
With mon you can define network services to watch and events that should
occur if a service goes down (ie. If no pings for 3 consecutive tries,
then run special code to reboot hung device + email me a report).
-Barry
- Next message: Barry S: "Re: gpl license definition of distributing"
- Previous message: Linnix: "Re: Recommendations for miniture linux pc (perhaps with linuxbios?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|