|
From: <dav...@da...> - 2006-05-28 15:30:26
|
No the monitor isn't e-mailing me when it is down. Hum. let me check the logs and reply back David Coley Codecipher _____ From: web...@li... [mailto:web...@li...] On Behalf Of Jamie Cameron Sent: Saturday, May 27, 2006 12:50 PM To: web...@li... Subject: RE: [webmin-l] Automatic restarting of Failed processes So you have the restart command setup, but it isn't being run? Is Webmin actually emailing you when Apache is down? That would determine if the problem is with the monitor, or the command .. - Jamie On 27/May/2006 07:28 dav...@da... wrote .. Yes, I did. I setup a monitor for Apache and set it to check when it goes down. Set to check every 5 minutes and e-mail myself when it goes down as well as run the command: /etc/rc.d/init.d/httpd restart Now I notice when it runs the check a <defunct> webmin appears for 30 seconds in ps -auxf but goes away. We're running Redhat ES3 and have SSH/Telnet disabled on all IP's except for one. Could that be causing the issue? If so is there a way to tell WebMin to use IP XXX.XXX.XXX.54 when trying to do commands? Thanks! David Coley Codecipher _____ From: web...@li... [mailto:web...@li...] On Behalf Of Jamie Cameron Sent: Saturday, May 27, 2006 1:27 AM To: web...@li... Subject: Re: [webmin-l] Automatic restarting of Failed processes On 26/May/2006 22:17 dav...@da... wrote .. Is there a way currently to have certain services / CPU processes monitored with Webmin, and have the services restarted if they go down. I was looking at the Webmin Monitor script but it wasn't restarting the HTTP like I wanted it too. Hi David, Have you looked at the System and Server Status module? It lets you monitor things like Apache, and you can specify a command to run if it is detected to be down (like apachectl start). - Jamie |