Hey,
I would be grateful for some help with working with ModBus Hosts/Items.
After I created an Item in Host and Key of that Item that looks like
I get an error message: Not Supported: Network is unreachable.
Zabbix documentation says:
My Item inherited the Host's IP and PORT:

When I put the IP address instead of macros:
I receive the correct value of register 25.
I would be grateful for some help with working with ModBus Hosts/Items.
After I created an Item in Host and Key of that Item that looks like
Code:
modbus_read[{$HOST.IP}:{$HOST.PORT},1,25,4,uint16]
Zabbix documentation says:
2 The {HOST.*} macros supported in item key parameters will resolve to the interface that is selected for the item. When used in items without interfaces they will resolve to either the Zabbix agent, SNMP, JMX or IPMI interface of the host in this order of priority, since Zabbix 3.0.6.
When I put the IP address instead of macros:
Code:
modbus_read[tcp://192.168.139.38:502,1,25,4,uint16]
Comment