[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] FTP monitoring

From: Giovanni D'Cristina
Subject: Re: [monit] FTP monitoring
Date: Wed, 29 Jul 2009 12:38:08 +1200


Works nicely now. Thank you for the update.

Best regards,

Martin Pala wrote:
I have set ftp server with multiline greetings and reproduced the problem - the fix was checked in to development repository, you can get it here:

Thanks for report,


Martin Pala wrote:

please can you provide output of ftp session beginning?

It is sufficient to use for example wireshark to catch the data or telnet to mimic the session:

1.) telnet 21 (monit expects "220 ...")
2.) type: "quit" (monit expects "221 ...")

and copy the output.

I think the error could be caused by multiline greeting, we can fix it if it will be the case.


Giovanni D'Cristina wrote:
I want to monitor whether I can reach a FTP server on a remote host.

So I have added the following

check host QTCP with address
      if failed port 21 protocol ftp for 1 cycles then alert
      alert address@hidden <mailto:address@hidden> with mail-format {
         subject: FTP Unreachable from  Server
      } with reminder on 30 cycles

But in the syslog I get

Jul 27 15:45:58 mdsg monit[3132]: FTP error: 220 Connection will close if idle more than 10 minutes.
Jul 27 15:45:58 mdsg monit[3132]: 'QTCP' failed protocol test [FTP] at INET[ <>] via TCP

and monit sets the alert.

My understanding is that internally monit should see the 220 message as a good thing, but it seems to see it
as a failure.
Am I doing something wrong?



To unsubscribe:

To unsubscribe:

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]