What is the response?
list Dave Overton
Is there a way to determine what this really means... "yellow Thu Jul 27 05:36:54 2006 ftp NOT ok Service ftp on syix.com is not OK : Unexpected service response" I manually test over and over again, and it never fails... Always gives me a proper response. Hobbit shows it up again this fast: green Thu Jul 27 05:38:59 2006 ftp ok Just wondering if there is a flag or something that I can see what the "unexpected" response really is? Any suggestions?
list Jerry Yu
/etc/bb-services define 'ftp' as below: [ftp] send "quit\r\n" expect "220" options banner port 21 could u copy+paste your manual session here, so we can tell what is 'unexpected' ?
▸
On 7/27/06, Dave Overton <user-4179705f9dca@xymon.invalid> wrote:Is there a way to determine what this really means... "yellow Thu Jul 27 05:36:54 2006 ftp NOT ok Service ftp on syix.com is not OK : Unexpected service response" I manually test over and over again, and it never fails... Always gives me a proper response. Hobbit shows it up again this fast: green Thu Jul 27 05:38:59 2006 ftp ok Just wondering if there is a flag or something that I can see what the "unexpected" response really is? Any suggestions?
list Henrik Størner
▸
On Thu, Jul 27, 2006 at 09:21:26AM -0700, Dave Overton wrote:
Is there a way to determine what this really means... "yellow Thu Jul 27 05:36:54 2006 ftp NOT ok Service ftp on syix.com is not OK : Unexpected service response"
The response is included, so if there's no text it means just that - Hobbit got no data when it connected to the ftp service. Some servers have been known to disconnect immediately when Hobbit sends the "quit" command, and then Hobbit never gets the banner that it expects. You can try changing the [ftp] section in bb-services so that you remove the send "quit\rn" line. The ftp test will still work, and it might give you the result you want. Regards, Henrik