You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Monty Ree <ch...@hotmail.com> on 2006/10/06 15:24:07 UTC

How to monitor spamd works well or not?

Hello..

I have operated sendmail + procmail + SA at linux.
and sometimes, it seems that SA doesn't work well.
At that times, I can see so lots of procmail processes.

But after spamd restart, SA works well...
 
So is there any script or tool to monitor spamd works well or not.
If spamd doesn't work well, I would like to restart spamd automatically.

Thanks for your advice.

_________________________________________________________________
MSN Messenger를 통해 온라인상에 있는 친구와 대화를 나누세요.   
http://messenger.msn.co.kr  


Re: How to monitor spamd works well or not?

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Daryl C. W. O'Shea wrote:
> Monty Ree wrote:
>> Hello..
>>
>> I have operated sendmail + procmail + SA at linux.
>> and sometimes, it seems that SA doesn't work well.
>> At that times, I can see so lots of procmail processes.
>>
>> But after spamd restart, SA works well...
>>
>> So is there any script or tool to monitor spamd works well or not.
>> If spamd doesn't work well, I would like to restart spamd automatically.
> 
> I've recently added a "check_spamd" script to do this to contrib/ in
> 3.1.6+.  It's primarily meant for use as a Nagios plugin, but it's also
> useful in your own scripts.  You'll be able to do exactly what you want
> with it.
> 
> You can grab it from a tarball or download it here:
> http://svn.apache.org/viewvc/spamassassin/trunk/contrib/check_spamd?view=co

BTW... you might actually want to figure out what is causing your
problem with spamd, rather than hit it with a hammer. :)

Daryl

Re: How to monitor spamd works well or not?

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Monty Ree wrote:
> Hello..
> 
> I have operated sendmail + procmail + SA at linux.
> and sometimes, it seems that SA doesn't work well.
> At that times, I can see so lots of procmail processes.
> 
> But after spamd restart, SA works well...
> 
> So is there any script or tool to monitor spamd works well or not.
> If spamd doesn't work well, I would like to restart spamd automatically.

I've recently added a "check_spamd" script to do this to contrib/ in
3.1.6+.  It's primarily meant for use as a Nagios plugin, but it's also
useful in your own scripts.  You'll be able to do exactly what you want
with it.

You can grab it from a tarball or download it here:
http://svn.apache.org/viewvc/spamassassin/trunk/contrib/check_spamd?view=co


Daryl