Currently the only way to get one value into host A from host B is with a calculated item type in B that says last(/HOST-A/status). This is not dynamic enough when it gets to host prototype discovery since you wont know what the name will be of host A beforehand. A work around would be to allow user macros in Formulas that say last(/{$HOST}/status) or to allow nested calculations last(/last(//conf.hypervisor)/status). This is how ever not supported it seems, is there any way to achieve this today in Zabbix 6.2.3 ?
Ad Widget
Collapse
Dynamic item value tracking between hosts
Collapse
X
-
Unfortunately, in Zabbix 6.2.3, there is no direct way to achieve dynamic item value tracking between hosts using user macros or nested calculations as you mentioned. The current approach of using a calculated item type with a specific host name is the only available method.Currently the only way to get one value into host A from host B is with a calculated item type in B that says last(/HOST-A/status). This is not dynamic enough when it gets to host prototype discovery since you wont know what the name will be of host A beforehand. A work around would be to allow user macros in Formulas that say last(/{$HOST}/status) or to allow nested calculations last(/last(//conf.hypervisor)/status). This is how ever not supported it seems, is there any way to achieve this today in Zabbix 6.2.3 ?BallSportsPro -
Zabbix 6.2.3 doesn't support direct dynamic referencing of host names or nested calculations within calculated item formulas. Workarounds might involve scripting or using external tools to update item values indirectly.Currently the only way to get one value into host A from host B is with a calculated item type in B that says last(/HOST-A/status). This is not dynamic enough when it gets to host prototype discovery since you wont know what the name will be of host A beforehand. A work around would be to allow user macros in Formulas that say last(/{$HOST}/status) or to allow nested calculations last(/last(//conf.hypervisor)/status). This is how ever not supported it seems, is there any way to achieve this today in Zabbix 6.2.3 ?Comment
Comment