Ad Widget

Collapse

Dynamic item value tracking between hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boshoffjb
    Junior Member
    • Jul 2023
    • 3

    #1

    Dynamic item value tracking between hosts

    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 ?
  • Edwardellis
    Junior Member
    • Aug 2023
    • 4

    #2
    In my opinion, You can utilize custom scripts or external tools to achieve this. For instance, a custom script can fetch the required value from Host A and make it accessible in Host B's calculated item. Alternatively, consider using Zabbix API to dynamically update item names based on discovery results.

    Comment

    Working...