-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:Zabbix LTS v6.0.21
MySQL v8.0.34
Apache2 v2.4.52
Host: Ubuntu Server 22.04 LTS
Steps to reproduce:
- Create an item with 2 interfaces
- Create 2 items, one that is retrieved on interface #1, the other item is retrieved from interface #2
- The item has to be an HTTP Agent and the item to be obtained has to be referenced using the {HOST.IP} macro
- {Host.IP}
and data retrieved works fine on both interfaces #1,#2 with TEST button
- Then when the device is left to be updated by zabbix, {HOST.IP} is resolved only to interface #1
- Using {HOST.IP2} with interface #2 only gives an error
I will upload images of the item setup for the interface #2 as the #1 works fine always
Interface #1 has data 1080, interface #2 has data 0080
Result for interface #2:
**

If clicking int est, {HOST.IP} is solved as 192.168.16.16 which is fine, and retrieves the data 0080 which is the correct one

I click in add the item and then once the data is refreshed, it gets the data from 192.168.16.15 (interface #1)
If i explicitly define the item to be retrieved from the fixed IP. then the result is ok always -> 0080

Here the summary of the data retrieved by {HOST.IP} pointing to the 2nd interface, and pointing the 2nd interface but with the explicit Ip in the http path
