[wellylug] server monitoring

David Antliff dave.antliff at paradise.net.nz
Thu Jan 13 15:54:44 NZDT 2005


On Thu, 13 Jan 2005, Mark Signal wrote:
> does anyone know of a script (run as a cron job?)  that will ping a remote 
> server a few times regularly and run a command if the server becomes 
> unpingable  - and ideally runs another command when the server rejoins the 
> land of the living.

I wrote a script to do this once, and discovered several linux 
distributions have different flavours of ping - I think the Debian one 
allows a specified timeout but the Gentoo one does not, or something.

Be fairly easy to whip a script up anyway.

-- 
David.




More information about the wellylug mailing list