[Top][All Lists]

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

Re: [monit] FTP monitoring

From: Martin Pala
Subject: Re: [monit] FTP monitoring
Date: Tue, 28 Jul 2009 21:53:43 +0200
User-agent: Thunderbird (X11/20090608)


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:

reply via email to

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