sender: "carlopmart gmail com" date: "Mon, Oct 10, 2005 at 01:30:08PM +0200" <<<EOQ
Hi all,
I need to use some watchdog software for monitor certain daemons (like
postfix, squid, etc) aka cluster suite does. Somebody knows any kind
of software???
I'm not sure what exactly you want to monitor, but if it like 'watch them over
to not die, and restart them if they died' than daemontools fits perfect for the
job. You start your daemons under daemontools, and then it's daemontools' job to
watch over them. It checks them about every 2 seconds, and if they died, it just
restarts them back.
http://cr.yp.to/daemontools.html
That's how I run all my daemons :)
# svstat /service/*
/service/argus: up (pid 15132) 532083 seconds
/service/axfrdns: up (pid 1324) 600959 seconds
/service/dns0: up (pid 11020) 590640 seconds
/service/dns2: up (pid 11021) 590640 seconds
/service/dnscache: up (pid 11022) 590640 seconds
/service/dnscache2: up (pid 11023) 590640 seconds
/service/famd: up (pid 1313) 600959 seconds
/service/gpm: up (pid 1274) 600960 seconds
/service/httpd: up (pid 14813) 270319 seconds
/service/jabberd2: up (pid 1312) 600959 seconds
/service/mysql3: up (pid 1309) 600959 seconds
/service/mysql4: up (pid 1321) 600959 seconds
/service/qmail-pop3d: up (pid 20008) 86694 seconds
/service/qmail-qmqpd: up (pid 20009) 86694 seconds
/service/qmail-qmtpd: up (pid 20010) 86694 seconds
/service/qmail-send: up (pid 20011) 86694 seconds
/service/qmail-smtpd: up (pid 20012) 86693 seconds
/service/ssh: up (pid 1286) 600960 seconds
/service/syslog: up (pid 1314) 600960 seconds
/service/vsftpd: up (pid 1326) 600960 seconds
You can find collections of run scripts for various services on the net, here are
a couple of such sites:
http://www.kdegraaf.net/supervise.html
http://smarden.org/runit/runscripts.html
Good luck!
Alex
--
nahant-list mailing list
nahant-list redhat com
https://www.redhat.com/mailman/listinfo/nahant-list