how to monitor mailscanner is running

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Wed Mar 31 13:50:17 IST 2004


Michele Neylon :: Blacknight Solutions wrote:
> There are a couple of ways you can do this. If you use:
> /etc/rc.d/init.d/MailScanner status
> you should see if the process is running or not and script it to act
> accordingly. Another thing would be to monitor the process using
> something like uptime 
> 
You should ensure that sendmail can't start on its own by disabling it's init script (chkconfig sendmail off on many systems).  Its also a good idea to add deliberate syntax errors into the /etc/sysconfig/sendmail file - to prevent it getting re-enabled.

The current version of MailScanner-MRTG (disclaimer: I'm the maintainer) will restart MailScanner if the number of MailScanner processes drops below a certain level.  A future version is planned to include some means of alerting based on various criteria.



BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.




More information about the MailScanner mailing list