Ad Widget

Collapse

item.update(itemid,name) in zabbix API Doesn't change name on an item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ozarrouki
    Junior Member
    • Jul 2023
    • 1

    #1

    item.update(itemid,name) in zabbix API Doesn't change name on an item

    so im trying to rename an item in my host trying to add more information for example IP + Hostname but can't seem to update the name and i don't want to change the item name in the template because the info im adding has a relation with the discovery information.

    Detail : the discovery rule gives the IPs of a BGP peering and the item prototype is BGPpeerstatus.IP_address i want to rename the item prototype to BGPpeerstatus.IP_address-HOSTNAME_OF_THE_PEER where HOSTNAME_OF_THE_PEER is in a csv that i load in my python script

    but the item.update() dont make any changes on my items prototypes of my hosts

    im still new in zabbix and i would appreciate any guidance and clarifications thank you in advance ! !
Working...