Pull Interfaces via SNMP on any device shows Interface name and description same.
search cancel

Pull Interfaces via SNMP on any device shows Interface name and description same.

book

Article ID: 345328

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Interface name and description are shown same on the device in NCM. To share a workaround by which NCM can pull OID .1.3.6.1.2.1.2.2.1.2 for Interface Name and OID .1.3.6.1.2.1.31.1.1.1.18 for Interface Description. 


Environment

NCM - 10.1.x

Cause

In NCM, by default SNMP is taken precedence for Pull Interfaces on a device.
For most of the device classes, NCM makes use of generic code from $VOYENCE_HOME/package/stdlib directory for Pull Interfaces, where by design it is designed to pull interface name from OID .1.3.6.1.2.1.2.2.1.2 and same is set as interface description.

Resolution

Follow the below steps on Device Server (DS) /Combination Server (CS) to implement the workaround:

  • Create the directory structure $VOYENCE_HOME/custompackage/stdlib if it doesn't exist already.
  • Place the attached stdmib.inc and stdcmdfuncs.inc files at $VOYENCE_HOME/custompackage/stdlib.
  • Restart voyence service with command: service voyence restart for NCM 10.1.6 and below, use systemctl restart voyence for NCM 10.1.8 and above.
  • Execute Pull Interfaces on the device.

NOTE: This change would be applicable to all device classes in NCM. Please test this on UAT/Test environment before implementing in production environment.

Additional Information

Device should have Interface with description configured, otherwise the description field would be empty.
Example:

Attachments

stdmib get_app
stdcmdfuncs get_app