On Sun, 11 Mar 2007, gable wrote:

>
>
> we have monitoring in place .. zabbix in this case .. The process isn't
> dying, tailing the logs .. and checking processes .. the spamd process is up
> and running ... but the connection between spamc and the daemon isn't
> talking correctly .... A fellow sysadmi seems to think it's something to do
> with IO::Handle perl module ...they had the exact same errors  .... and
> blamed it on that!
>
>
> Justin Mason wrote:
> >
> >
> > that's the error message produced when the connection is closed
> > before any data is sent.  Have you got an nmap running every 5
> > minutes? or some kind of keep-alive daemon checking to see if
> > spamd is running?

Can you program your 'zabbix' to hold a conversation with spamd?
The best way to check to make sure that spamd is alive would be to
do a 'PING' check. Have zabbix send the command "PING SPAMC/1.1"
and look for the "SPAMD/1.2 0 PONG" response.

EG:
  % telnet spamd.host 783
  Trying...
  Connected to spamd.host
  Escape character is '^]'.
  PING SPAMC/1.1
  SPAMD/1.2 0 PONG
  Connection closed by foreign host.

quick check and no barking by spamd in the logs.

-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to