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

Frontend stores custom address and port of proxy after changing its mode to Active

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.0.0beta2
    • Frontend (F)
    • None

      Steps to reproduce:

      1. Create a passive proxy with custom address and port, e.g., 300.300.300.300 and 20123.
      2. After saving the proxy, open its configuration, change mode from "Passive" to "Active" and save it.
      3. Open proxy configuration, set it to "Passive" (don't save it!) - address and port have default values, i.e., 127.0.0.1 and 10051 - as expected.
      4. Connect to the database, check the contents of the proxy table.

      Result:

      MariaDB [zabbix70_server]> select proxyid, name, operating_mode, address, port from proxy;
      +---------+----------------+----------------+-----------------+-------+
      | proxyid | name           | operating_mode | address         | port  |
      +---------+----------------+----------------+-----------------+-------+
      |       1 | Zabbix proxy   |              0 | 300.300.300.300 | 20123 |
      +---------+----------------+----------------+-----------------+-------+
      1 row in set (0.000 sec)
      

      Expected:

      MariaDB [zabbix70_server]> select proxyid, name, operating_mode, address, port from proxy;
      +---------+----------------+----------------+-----------------+-------+
      | proxyid | name           | operating_mode | address         | port  |
      +---------+----------------+----------------+-----------------+-------+
      |       1 | Zabbix proxy   |              0 | 127.0.0.1       | 10051 |
      +---------+----------------+----------------+-----------------+-------+
      1 row in set (0.000 sec)
      

            zabbix.dev Zabbix Development Team
            asitals Andrejs Sitals (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: