When importing a mib in Spectrum MIB Tools, how can octet string attributes that are of type text string show the actual text in the CA Spectrum OneClick attributes tab?
search cancel

When importing a mib in Spectrum MIB Tools, how can octet string attributes that are of type text string show the actual text in the CA Spectrum OneClick attributes tab?

book

Article ID: 46441

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

When importing a mib in Spectrum MIB Tools, how can octet string attributes that are of type text string show the actual text in the CA Spectrum OneClick attributes tab?

Environment

Release: Any
Component:

Cause

This was designed this way because octet attributes are not always plain text.

Resolution

Prior to loading the mib in mibtools and mapping the attributes, review the mib to see if there are octet string attributes that are of type test.  If there are, change the SYNTAX entry in the mib from OCTET STRING to DisplayString: 

SYNTAX DisplayString (SIZE (0 .. 255)) 

Then import the mib and when you map the attributes they will be mapped as a text string.  When viewing the attribute through attribute editor, the string will display as plain text.

 

Note:  Be sure not to do this to OCTET STRINGS that are not text