plugin get's connection refused by host, butstill says ok

Steve Burton steve at sliderule.demon.co.uk
Thu Oct 31 01:30:05 CET 2002


Whoops, my bad! The default expect string is 220 not 200.

Steve.

Sean McAvoy wrote:
> 
> Hello,
> the command line I am using is:
> check_ftp -H $HOSTADDRESS$ -w 10 -c 15 -t 20
> the output from the command line is:
> FTP problem - 14 second response time
> 
> But nagios has it listed as ok.
> Also I believe 200 status code you are referring to is the HTTP status
> code for ok, not the FTP.
> 
> On Mon, 2002-10-28 at 16:36, Steve Burton wrote:
> > Could the check_ftp plugin be matching the 2002 in the date as a 200
> > (OK) status ?
> >
> > Steve.
> >
> > Sean McAvoy wrote:
> > >
> > > I've got two distributed nagios servers, reporting back to my central
> > > server. It seems that when the service fails (i.e. connection refused or
> > > socket timeout), it still reports the service as being ok. Any ideas
> > > where the problem might be?
> > >
> > > Example error:
> > > Customer FTP service
> > > OK 10-28-2002 11:24:42 2d 19h 35m 49s 1/3 Connection refused by host
> > >
> > > --
> > > Sean McAvoy
> > > Network Analyst
> > > Megawheels Technologies Inc.
> > > Phone: 416.360.8211
> > > Fax:   416.360.1403
> > > Cell:  416.616.6599
> > >
> > >   ------------------------------------------------------------------------
> > >                        Name: signature.asc
> > >    signature.asc       Type: application/pgp-signature
> > >                 Description: This is a digitally signed message part
> >
> > --
> > Steve Burton
> >
> > Webmaster & Sub-optimal Coder
> --
> Sean McAvoy
> Network Analyst
> Megawheels Technologies Inc.
> Phone: 416.360.8211
> Fax:   416.360.1403
> Cell:  416.616.6599
> 
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: This is a digitally signed message part

-- 
Steve Burton

Webmaster & Sub-optimal Coder


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en




More information about the Users mailing list