ifType showing as integer instead of string
search cancel

ifType showing as integer instead of string

book

Article ID: 385439

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

ifType showing as integer instead of string i.e not honoring translations as per the MIBs when custom snmp masks are added to SNMP collector manager. For example, ifType showing as 6 instead of ethernetCsmacd. PFB screenshot for reference from MODB:

Environment

Watch4net|M&R - 7.7

Cause

Described behavior occurs when loading MIBs that redefine or augment the ifTable.

Resolution

  • Identify the custom mask which is causing this issue. This can be done by enabling file-connector log at the collecting level and then comment-uncomment one custom snmp mask at a time from snmp-masks file until ifType value generated is string. Refer KB to setup file-connector log on a collector-manager.
  • Comment out the <mib-file-name> element for those masks causing this issue and restart the SNMP collector. For example:
    •     <mib-files>
            <!-- <mib-file-name>FORTINET-FORTIGATE-MIB.mib</mib-file-name> -->
          </mib-files>

NOTE: The RFC1213-MIB is loaded by default, and referencing MIB files in masks is optional. Below is the screenshot from APG-SNMP-Collector-Admin-Guide.pdf