Ad Widget

Collapse

Interface name on MAPs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DNYT
    Junior Member
    • Aug 2018
    • 4

    #1

    Interface name on MAPs

    Hello,

    I am building a map that shows all of our Switches interconnected.
    Is there any way I can add the Interface name (for excample GE 1/0/1) to the label of the link?

    Thank you!

    Daniel
  • Hernandes Martins
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2011
    • 900

    #2
    Hi Daniel

    Read the documentation about this.


    Look the sintax

    {hostname:key.function}

    {My swicth :net.if.status[ifOperStatus.10001].last()}

    Regards
    __

    Att.
    Hernandes Martins - Zabbix Trainer

    Zabbix Brazil Partner - www.luniobr.com

    Zabbix Brazil Community - www.zabbixbrasil.org

    Blog: hernandesmartins.blogspot.com.br

    Skype: hernandss
    Telegram: @MrHernandes

    Español
    Facebook: facebook.com/groups/zabbixlatam
    Telegram: https://t.me/ZabbixEspañol

    Português
    Facebook: facebook.com/groups/zabbixbrasil/
    Telegram: https://t.me/ZabbixBrasil

    Comment

    • DNYT
      Junior Member
      • Aug 2018
      • 4

      #3
      Hello,

      yes found that link as well, added Speed and current BW to the Label already.

      "{My swicth :net.if.status[ifOperStatus.10001].last()}"
      This only returns the Link status, i am looking for the Inerface name.

      Thank you!

      Daniel

      Comment

      • DNYT
        Junior Member
        • Aug 2018
        • 4

        #4
        Found what I was looking for, created new Prototype Item in Discovery for the Interfaces and called it net.if.type[ifName.{#SNMPINDEX}]
        Now {switch:net.if.type[ifname.129].last(0)} will return me the name.

        Let me know if there is a build in way.

        Thanks

        Daniel

        Comment

        Working...