Ad Widget

Collapse

ifAlias Interface description in Graph name shows *UNKNOWN*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarekF
    Junior Member
    • Sep 2017
    • 4

    #1

    ifAlias Interface description in Graph name shows *UNKNOWN*

    Hello,

    I'm having a problem that my Zabbix monitoring doesn't show port description in graph name:



    Item prototype is configured like this:



    And it gathers data correctly:



    My graph prototype configuration looks like this:
    I did it based on other posts on this forum that worked for other people



    I'm lost, I don't understand why the data that is collected is not passed to the graph name..
    Could anyone please help me ?

    My Zabbix version is 3.2.7

    Thank you
    Marek.
  • MarekF
    Junior Member
    • Sep 2017
    • 4

    #2
    Anyone please ?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      I think the macro used in the graph name is incorrect.
      Please change as follows.
      Code:
      Traffic on {#SNMPVALUE} - {{HOST.HOST}:ifAlias["{#SNMPINDEX}"].last(0)}

      Comment

      • MarekF
        Junior Member
        • Sep 2017
        • 4

        #4
        Originally posted by Atsushi
        I think the macro used in the graph name is incorrect.
        Please change as follows.
        Code:
        Traffic on {#SNMPVALUE} - {{HOST.HOST}:ifAlias["{#SNMPINDEX}"].last(0)}
        Thanks for reaction Atsushi

        I changed it but its unfortunately still the same *UNKNOWN*
        Do you know if there is a way to check this in zabbix logs ?

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          If you want to get the value of an item, please match it with the key of the item.
          If there is a period after ifAlias, a period is also required.

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

          Comment

          • MarekF
            Junior Member
            • Sep 2017
            • 4

            #6
            Originally posted by Atsushi
            If you want to get the value of an item, please match it with the key of the item.
            If there is a period after ifAlias, a period is also required.

            Code:
            Traffic on {#SNMPVALUE} - {{HOST.HOST}:ifAlias.["{#SNMPINDEX}"].last(0)}
            Atsushi you are my hero !
            That was it. I was missing the period.

            Thank you so much, now I can hand over this tool to the customer.

            Comment

            Working...