Ad Widget

Collapse

Trying to get ifAlias included in graph prototype title

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imabev
    Junior Member
    • Oct 2015
    • 1

    #1

    Trying to get ifAlias included in graph prototype title

    I have seen numerous posts on this and have followed the format correctly (I think) but I am still unable to get the interface alias name included in the title of the graph prototype.

    My most recent attempt has this in the graph prototype title

    Code:
    Traffic on interface {#SNMPVALUE} : {{HOST.HOST}:ifAlias[{#SNMPVALUE}].last(0)}
    Which results in a title of "Traffic on interface A1 : *Unknown* (1h)". I can see that the data of the interface alias is retrieved in 'latest data'.

    The item prototype is defined as:
    Code:
    KEY: ifAlias.["{#SNMPINDEX}"]
    SNMPOID: .1.3.6.1.2.1.31.1.1.1.18.{#SNMPINDEX}
    I am on zabbix 2.4.6. Is it possible to get the alias names in the graph title or do I need to hard code each interface graph individually?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If the key of the item are used to SNMPINDEX, title than as follows?

    Code:
    Traffic on interface {#SNMPVALUE} : {{HOST.HOST}:ifAlias[{#SNMPINDEX}].last(0)}

    Comment

    Working...