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

Problem with host interface

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.1
    • None
    • Ubuntu 20.04.6 LTS (5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)

      We have some host that we use to monitor web sites. They had no items that use host interface - only HTTP, Dependent, Calculated, External and Internal - all of them from templates. Hosts was created a while ago when you have to add at least one interface, there was no option to create host without interface even if it actually don't need.

      Now when i try to remove host interface, previously select "None" in every item (HTTP, External) that has it option in web interface, button "remove" is inactive (See host_parameters screenshot). Then we tried to export host, remove host interface and import it again and get error (See import_error screenshot) than interface is linked to an item, which type is "Dependent" and it has no option to choose host interface (See item_configuration screenshot). When we press "Update" button in request payload we can see selectedInterfaceId is not "0" (See request_payload screenshot). That behavior for host than monitor by server.

      For proxy monitored web sites hosts behavior is different. We can remove host interface without any problem, but we broke proxy configuration (See zabbix_proxy.log)

      Steps to reproduce (for proxy):

      1. Remove host interface in host configuration in frontend;
      2. Update proxy configuration;
      3. Check zabbix_proxy.log for proxy configuration error.

      Result:
      See log file zabbix_proxy.log
      Expected:
      No problems with removing unused host interface.

      Also noticed a mistake in error log message: cannot process proxy onfiguration data received from server - letter "c" is missing in word "configuration".

       

        1. host_parameters.png
          host_parameters.png
          38 kB
        2. import_error.png
          import_error.png
          16 kB
        3. item_configuration.png
          item_configuration.png
          42 kB
        4. request_payload.png
          request_payload.png
          94 kB
        5. zabbix_proxy.log
          0.6 kB

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            signatev Svyatoslav Ignatev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: