Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24735

Cisco IOS by SNMP template modification for bits sent/received on interface

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.0
    • Templates (T)
    • None
    • Zabbix 7 Cisco IOS by SNMP template

      Steps to reproduce:

      1. Apply "Cisco IOS by SNMP" template to network equipement. 
      2. Let "Network interfaces discovery" do its thing. 

      Result:

      Network interfaces that are down do not report bits received/sent and therefore OIDs does not exist. For example:

       

      snmpwalk -v 2c -c public <host> ifHCInOctets.32
      IF-MIB::ifHCInOctets.32 = No Such Instance currently exists at this OID

       

      Therefore item becomes unsupported.

      Fix:

      Add preprocessing "check for error using regular expression" step on item prototype for "Interface {#IFNAME}({#IFALIAS}): Bits received" and "Interface {#IFNAME}({#IFALIAS}): Bits sent" using expression "(no data was found)" and setting value to 0. 

            aigars.kadikis Aigars Kadikis
            JulioQc Julien Lacasse-Roger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: