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

trapper item fails on a few IPs listed on "Allowed hosts" field, if space character is used

XMLWordPrintable

    • S24-W44/45, S24-W46/47
    • 1

      This value is fine for "Allowed hosts":

      6.6.6.6,127.0.0.1
      

      but this is not (note a space after comma, which is allowed):

      6.6.6.6, 127.0.0.1
      

      it fails with error:

      cannot process item "test.item" trap: connection from "127.0.0.1" rejected, allowed hosts: "6.6.6.6, 127.0.0.1"
      

      https://www.zabbix.com/documentation/current/en/manual/config/items/itemtypes/trapper

      Reproduced on recent 7.0. Not reproduced on recent 6.0
      Other branches were not tested.

            MVekslers Michael Veksler
            zalex_ua Oleksii Zagorskyi
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 8h Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 11h
                11h