Ad Widget

Collapse

Cisco Interface Alias on Graph / Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chalmo
    Junior Member
    • Jan 2014
    • 8

    #1

    Cisco Interface Alias on Graph / Triggers

    Hi All,

    Recently new to Zabbix and am looking for a bit of guidance.

    We are using the ZBX-CISCO-INTERFACES template to monitor all of our Cisco devices which is working great - discovers alias', interfaces and speeds automatically as it should.

    One thing I'm looking to implement which would be ideal is having the interface alias on the graphs and triggers which are generated. For example rather than the graphs and triggers displaying "Outgoing use on interface GigabitEthernet2/26 exceeded 80% for the last 5 minutes" it would display "Outgoing use on interface GigabitEthernet2/26 (ALIAS_OF_INTERFACE) exceeded 80% for the last 5 minutes". It would be much easier to see the alias since we have 300+ interfaces being monitored we don't know what every one relates to.

    Any ideas on the syntax for this? I've tried something like {Template_Platform_Cisco_Interfaces:ifAlias[{#SNMPVALUE]} but that displays as {Template_Platform_Cisco_Interfaces:ifAlias[GigabitEthernet2/26]}.

    Thanks,

    Chris
  • Uri
    Junior Member
    • Feb 2011
    • 12

    #2
    Hi. I'm looking for the same function.
    Can anyone help me?
    Last edited by Uri; 24-03-2014, 09:18.

    Comment

    • Chalmo
      Junior Member
      • Jan 2014
      • 8

      #3
      Hi Uri,

      I managed to work it out.

      If you are using the discovery template Zabbix includes them see below:

      Expression:
      {Template_Platform_Cisco_Interfaces:if.speed[{#SNMPVALUE}].last(0)}>0 & ({Template_Platform_Cisco_Interfaces:ifInOctets[{#SNMPVALUE}].avg(300)})>({Template_Platform_Cisco_Interfaces:i f.speed[{#SNMPVALUE}].last(0)})*0.8 & {Template_Platform_Cisco_Interfaces:ifAlias[{#SNMPVALUE}].str(thisstr)}<2

      Take note of the last line which has been added calling the last value for the interface alias.

      Title of the trigger:
      Incoming use on interface {#SNMPVALUE} ({ITEM.VALUE4}) > 80% ({ITEM.VALUE2}/{ITEM.VALUE1}) for 5 minutes

      Take note ({ITEM.VALUE4}) which is pulling the value given on the 4th line of the expression.

      As an example this gives us a trigger result of:
      PROBLEM: Outgoing use on interface GigabitEthernet2/26 (DC1-ASA5510 E0/3) > 80% (91.12 Mbps/100 Mbps) for 5 minutes

      Hope that helps.

      Chris

      Comment

      • Uri
        Junior Member
        • Feb 2011
        • 12

        #4
        Hello.
        It's a very nice implementation and it works! Thank you!

        Comment

        • techlive13
          Junior Member
          • Mar 2014
          • 6

          #5
          Cisco template

          Hi, I am looking for Cisco template to monitor our Cisco switch and routers.
          We have cisco 3750 & 2960 switches & ASR routers.
          Templates which i found so far did not work for me. Can you share cisco templates if you have generic one. I have been struggling with this for a while now

          Thanks in advance!

          Comment

          • peterli
            Junior Member
            • Dec 2013
            • 8

            #6
            Originally posted by techlive13
            Hi, I am looking for Cisco template to monitor our Cisco switch and routers.
            We have cisco 3750 & 2960 switches & ASR routers.
            Templates which i found so far did not work for me. Can you share cisco templates if you have generic one. I have been struggling with this for a while now

            Thanks in advance!
            We have the same topology. I also want to get this templetes, but I wonder if these devices, for example WS-C3750X-24S-S & WS-C2960S-48TS-L & 2900 router & ASA, use the same templete?
            Last edited by peterli; 23-03-2014, 12:43.

            Comment

            • techlive13
              Junior Member
              • Mar 2014
              • 6

              #7
              I dont think so its the same for 3750, 2960 or other new cisco devices. I am hoping someone will share templates which worked for them on these devices?

              Comment

              Working...