Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20634

net.tcp.service[ftp] on agent 2 does not work with FileZilla server default banner

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 6.0.0
    • Agent (G)
    • None
    • Zabbix Agent 2 checking FileZilla Server (any version)
    • Sprint 85 (Feb 2022), Sprint 86 (Mar 2022)
    • 0.25

      Steps to reproduce:

      1. Install FileZilla server on windows
      2. Install Zabbix Agent 2
      3. Configure the following item: net.tcp.service[ftp]

      Result:

      Agent reports "0" (down)
      **

      Expected:
      Agent reports "1" (down)

       

      The problem is due to the validateFtp function in src/go/plugins/net/tcp/tcp.go

      https://github.com/zabbix/zabbix/blob/9dee1a607d56ab03f86105a2dbc939723cca956f/src/go/plugins/net/tcp/tcp.go#L148

       

      The agent checks for the string "220 ", while FileZilla default banner is:

      220-FileZilla Server 0.9.60 beta
      220-written by Tim Kosse ([email protected])
      220 Please visit https://filezilla-project.org/

            ssimonenko Sergey Simonenko (Inactive)
            c.mammoli Cristian Mammoli
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: