search cancel

Some attribute value not readable

book

Article ID: 113730

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

A long time ago (version 9.x) a mib was added to handle InfoBlox Inc.RT devices.
Attributes are defined for some MIB leaves and used in some scripts, with no the problem in 10.2.x:
We saw the same results in 9.4.x for the show attributes command but if you compare the output in Spectrum Attributes tab and in CLI, there is a difference.

Steps to recreate:

1. Model the device as a sim
2. map the attributes. 
3. compare the values

The Mib tools results are the same 

1.3.6.1.4.1.7779.3.1.1.2.1.4.0 = OCTET STRING: IB-1410 (ibHardwareType) 
1.3.6.1.4.1.7779.3.1.1.2.1.5.0 = OCTET STRING: 1401201206100674 (ibHardwareId) 
1.3.6.1.4.1.7779.3.1.1.2.1.6.0 = OCTET STRING: 1401201206100674 (ibSerialNumber) 
1.3.6.1.4.1.7779.3.1.1.2.1.7.0 = OCTET STRING: 6.12.9 (ibNiosVersion) 

But I do not see the same value in the attributes tab. 
This is because it´s displaying in hex, even though they were modeled as an octet string. 
49.42.2d.31.34.31.30 converts to IB-1410 
 

Environment

Spectrum version: 10.2.3
Single landscape, fault tolerant system.

Resolution

We would need to remove the current mappings by initializing the Spectrum catalog from the SSDB.
Of course, this may not always be possible, and if so, please contact support to see if they can help remove them.
It then can be resolved with no mappings as follows;

Step: 
1) Modified the IB-PLATFORMONE-MIB_1 to have: 
ibHardwareType OBJECT-TYPE 
SYNTAX DisplayString (SIZE (0 .. 255)) 
.. 
ibHardwareId OBJECT-TYPE 
SYNTAX DisplayString (SIZE (0 .. 255)) 

ibSerialNumber OBJECT-TYPE 
SYNTAX DisplayString (SIZE (0 .. 255)) 

ibNiosVersion OBJECT-TYPE 
SYNTAX DisplayString (SIZE (0 .. 255)) 

2) Import the MIB 
3) Map the mib filed to custom attributes 
4) Discover the device