Ad Widget

Collapse

Item Protoype-Names in Discovery Rules - User-Macros

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manni
    Junior Member
    • Jan 2014
    • 7

    #1

    Item Protoype-Names in Discovery Rules - User-Macros

    Hello,

    I'm starting to build out a zabbix environment and I'm searching for a solution for my problem.

    I'm using Discovery-Rules in Templates to get a specific type of Interfaces, matching on the ifAlias. In the Item-Prototype I can just use {#SNMPVALUE} within the name of the Item to distinguish between all elements, but I'm missing the Port-Information here (iso.3.6.1.2.1.31.1.1.1.1 - ifName). Unfortunately the ifDescr contains more information I need so is there any chance to create an Item-Prototype that will access iso.3.6.1.2.1.31.1.1.1.1 (ifName) and then I can have the name in that way:

    Interface Traffic ({Template:ifName[{#SNMPINDEX}]/{#SNMPVALUE})

    Any suggestions here? I know that this should work within Triggers, but I would have it within Items and/or Graphs.

    Kind Regards,
    Kay
Working...