The Cisco Flash Partitions View does not show the correct space values for some partitions
search cancel

The Cisco Flash Partitions View does not show the correct space values for some partitions

book

Article ID: 191238

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction


When checking the ‘Cisco Flash Partition’ view on some devices the partition FreeSpace and TotalSpace values
  do not show correctly for all partitions.
 

Example: The values for flash-1 and flash are not matching what the device reports via the cli
 
Show flash-1:
 
Show flash:
 
 
Checking the Cisco-flash-mib values and the values appear to match the Cisco Flash Partitions Table
 
ciscoFlashPartitionName
1.3.6.1.4.1.9.9.10.1.1.4.1.1.10.1.1, OctetString , flash-1
1.3.6.1.4.1.9.9.10.1.1.4.1.1.10.2.1, OctetString , flash
1.3.6.1.4.1.9.9.10.1.1.4.1.1.10.18.1, OctetString , webui
1.3.6.1.4.1.9.9.10.1.1.4.1.1.10.65.1, OctetString , crashinfo
1.3.6.1.4.1.9.9.10.1.1.4.1.1.10.66.1, OctetString , crashinfo-1
 
ciscoFlashPartitionSize (Total Space)
1.3.6.1.4.1.9.9.10.1.1.4.1.1.4.1.1, Gauge       , 4294967295
1.3.6.1.4.1.9.9.10.1.1.4.1.1.4.2.1, Gauge       , 4294967295
1.3.6.1.4.1.9.9.10.1.1.4.1.1.4.18.1, Gauge       , 3479302144
1.3.6.1.4.1.9.9.10.1.1.4.1.1.4.65.1, Gauge       , 1651314688
1.3.6.1.4.1.9.9.10.1.1.4.1.1.4.66.1, Gauge       , 1651507200
 
ciscoFlashPartitionFreeSpace
1.3.6.1.4.1.9.9.10.1.1.4.1.1.5.1.1, Gauge       , 4294967295
1.3.6.1.4.1.9.9.10.1.1.4.1.1.5.2.1, Gauge       , 4294967295
1.3.6.1.4.1.9.9.10.1.1.4.1.1.5.18.1, Gauge       , 3398037504
1.3.6.1.4.1.9.9.10.1.1.4.1.1.5.65.1, Gauge       , 1388212224
1.3.6.1.4.1.9.9.10.1.1.4.1.1.5.66.1, Gauge       , 1561329664
 
ciscoFlashPartitionFileCount
1.3.6.1.4.1.9.9.10.1.1.4.1.1.6.1.1, Gauge       , 86
1.3.6.1.4.1.9.9.10.1.1.4.1.1.6.2.1, Gauge       , 103
1.3.6.1.4.1.9.9.10.1.1.4.1.1.6.18.1, Gauge       , 18277
1.3.6.1.4.1.9.9.10.1.1.4.1.1.6.65.1, Gauge       , 340
1.3.6.1.4.1.9.9.10.1.1.4.1.1.6.66.1, Gauge       , 195

Environment

Release : 10.x

Component : Spectrum Core / SpectroSERVER

Cisco 9300

Cause


The values are reported correctly in the Extended mib attributes which are of type 64bit counter

ciscoFlashPartitionSizeExtended/0x2134a8    1.3.6.1.4.1.9.9.10.1.1.4.1.1.13
ciscoFlashPartitionFreeSpaceExtended/0x2134a9  1.3.6.1.4.1.9.9.10.1.1.4.1.1.14

Resolution


A defect has been raised to evaluate adding columns for ciscoFlashPartitionFreeSpaceExtended and ciscoFlashPartitionSizeExtended to the Cisco Flash Partitions view.


These can be manually added to the 'Cisco Flash Partition' View in OneClick




Steps to manually add the columns to the view:


Check the $SPECROOT/custom/topo/config/  folder, does the table-cisco-flash-partition-config.xml file exist?

       - IF NO 
            copy the file from $SPECROOT/tomcat/webapp/spectrum/WEB-INF/topo/config/   -TO-   $SPECROOT/custom/topo/config/

       - IF YES
           continue to the edit step below and edit the existing file under the custom directory so as to not affect any other modifications


Edit the $SPECROOT/custom/topo/config/table-cisco-flash-partition-config.xml

Add the following column information before the closing </column-list> Tag

     <column>
     <name>FreeSpaceExt</name>
     <content>
       <attribute>0x2134a9</attribute>
       <renderer>com.aprisma.spectrum.app.util.render.ByteRenderer</renderer>
     </content>
     <default-width>100</default-width>
   </column>

   <column>
     <name>TotalSpaceExt</name>
     <content> 
       <attribute>0x2134a8</attribute>
       <renderer>com.aprisma.spectrum.app.util.render.ByteRenderer</renderer>
     </content>
     <default-width>100</default-width>
   </column>



example



Close and relaunch the OneClick console for the modification to take effect

Additional Information


The flash partition information is polled from the CISCO-FLASH-MIB on the device.

Attachments