Disk Partition names in CA Performance Management (CAPM) not the same as on device and in MIB data
search cancel

Disk Partition names in CA Performance Management (CAPM) not the same as on device and in MIB data

book

Article ID: 384566

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

Seeing different names & descriptions for disk partitions in CAPM than what is actually on the device and its MIB data. For example:

 

And:

But what is actually in the MIB data (which reflects the actual names on the device):

1.3.6.1.2.1.25.2.3.1.3.34     , OctetString , /var/netwitness
1.3.6.1.2.1.25.2.3.1.3.35     , OctetString , /var/netwitness/concentrator
1.3.6.1.2.1.25.2.3.1.3.36     , OctetString , /var/netwitness/concentrator/index
1.3.6.1.2.1.25.2.3.1.3.37     , OctetString , /var/netwitness/concentrator/metadb
1.3.6.1.2.1.25.2.3.1.3.38     , OctetString , /var/netwitness/concentrator/sessiondb
1.3.6.1.2.1.25.3.8.1.2.4      , OctetString , /var/netwitness
1.3.6.1.2.1.25.3.8.1.2.5      , OctetString , /var/netwitness/concentrator
1.3.6.1.2.1.25.3.8.1.2.6      , OctetString , /var/netwitness/concentrator/index
1.3.6.1.2.1.25.3.8.1.2.7      , OctetString , /var/netwitness/concentrator/metadb
1.3.6.1.2.1.25.3.8.1.2.8      , OctetString , /var/netwitness/concentrator/sessiondb
1.3.6.1.4.1.2021.9.1.2.4      , OctetString , /var/netwitness
1.3.6.1.4.1.2021.9.1.2.5      , OctetString , /var/netwitness/concentrator
1.3.6.1.4.1.2021.9.1.2.6      , OctetString , /var/netwitness/concentrator/index
1.3.6.1.4.1.2021.9.1.2.7      , OctetString , /var/netwitness/concentrator/metadb
1.3.6.1.4.1.2021.9.1.2.8      , OctetString , /var/netwitness/concentrator/sessiondb
1.3.6.1.4.1.2021.9.1.3.1      , OctetString , /dev/mapper/netwitness_vg00-root
1.3.6.1.4.1.2021.9.1.3.3      , OctetString , /dev/mapper/netwitness_vg00-varlog
1.3.6.1.4.1.2021.9.1.3.4      , OctetString , /dev/mapper/netwitness_vg00-nwhome

Environment

DX NetOps CAPM all currently supported releases

Cause

You will need to customise the Vendor Certification to get the partition names you want to see since Disks and Partitions are different things. 

Disks are usually sda, sdb, ... etc

A disk can contain multiple partitions and UC Davis Disk Vendor Certification (VC) uses OIDs from 1.3.6.1.4.1.2021.13.15.1.1. These are the physical device.

OIDs 1.3.6.1.2.1.25.2.3.1.3 are partitions according to the HOST-RESOURCES-MIB.
 
OID Type MIB
1.3.6.1.4.1.2021.13.15.1.1 Partitions UCD-DISKIO-MIB
1.3.6.1.2.1.25.2.3.1.3 Partitions HOST-RESOURCES-MIB
1.3.6.1.2.1.25.3.8.1.2 filesystems HOST-RESOURCES-MIB
1.3.6.1.4.1.2021.9.1.2 filesystems UCD-SNMP-MIB
1.3.6.1.4.1.2021.9.1.3 disks UCD-SNMP-MIB
 

What it is in the screenshots above are partitions whose name is the index in the MIB table of partitions.

The description shows the mount point of the partition. So, if you want that Name column change to Partition /var/.... then,  a VC extension must be done. 

Resolution

UC Davis Storage VC names the elements as "Partition: <index>". You  can change it simply by doing a VC extension and changing the Names expression.

You can run the following on the DA to extend the VC:

curl -u admin:<pass> -k -H "Content-Type: application/xml" -d @UCDStorageMib_extension.xml http://<DA_HOST>:8581/typecatalog/certifications/snmp/extension/UCDStorageMib/

Where the UCDStorageMib_extension.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<DataModel namespace="http://im.ca.com/certifications/snmp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SNMPCertificationFacet.xsd">
  <Author>CA</Author>
  <Version>1.0</Version>
  <FacetType name="UCDStorageMib" descriptorClass="com.ca.im.core.datamodel.certs.CertificationFacetDescriptorImpl">
    <FacetOf namespace="http://im.ca.com/core" name="Item" />
    <Expressions>
      <ExpressionGroup destCert="{http://im.ca.com/normalizer}NormalizedPartitionsInfo" name="UCDNRMStorageDS">
        <Expression destAttr="Names">"Partition " + dskPath</Expression>
      </ExpressionGroup>
    </Expressions>
  </FacetType>
</DataModel>
 
Copy the above into a file called UCDStorageMib_extension.xml and place it in the same directory where you run the curl command from.

And <DA_HOST> is your DA hostname or IP address.