Server Administration: automatically restarting services

Robert Meyer meyer_rm at yahoo.com
Thu Apr 8 09:04:26 EDT 2004


There already is an SSH monitor program.  I can't remember it's name off the
top of my head.  Maybe poking around on the SSH site might reveal it.  Just
keep your eyes open for Linux Zombie Badgers...

Cheers!

Bob
--- Matt Cristantello <matt at crazy42.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hey,
> 
> I was just wondering if any of you have come across any projects to
> automatically restart crashed or broken services (such as sshd, apache,
> etc.) in linux. I have rcN.d and init.d scripts set up, but I'd like
> something to check, say every five minutes, and see if a process is
> still running/is in a good state, then restart it if it's not. I can do
> something similar using ps -A, grep, and then running the init.d script
> if necessary, but I'd like somethign a little more automatic. If nothing
> like this has been done, I'll look into writing something and releasing
> it under the GPL or something like that.
> 
> Thanks,
> ~Matt
> 
> - --
> ****************************************************************************
> "When trouble arises and things look bad, there is always one
> individual who perceives a solution and is willing to take command.
> Very often, that individual is crazy."
> - -Dave Barry
> ****************************************************************************
> ~                Matthew D. Cristantello
> ~                matt at crazy42.org
> ~                716-472-3833 (cell)
> ~                AIM: Matt977
> ****************************************************************************
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFAdNdWi3I4xV1yeBQRAgdxAJ4iJzw5aV/nEwg5iFkpyFjuSMyj/ACgkyH5
> mfvzrlkH8IJdTAf/MsDREhY=
> =TS4d
> -----END PGP SIGNATURE-----


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



More information about the nflug mailing list