Unable to discover NFS drives that need to be monitored
search cancel

Unable to discover NFS drives that need to be monitored

book

Article ID: 248755

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

Our Linux team has mapped NFS drives that need to be monitored but they are not showing up in Performance Center.

 

Environment

Release : 21.2

Component : PM Discovery

Cause

These were not discovered because of the partition type.

We discover type 4 partitions, which are local, but these are type 10

1.3.6.1.2.1.25.2.3.1.2.77     , ObjectID    , 1.3.6.1.2.1.25.2.1.10
1.3.6.1.2.1.25.2.3.1.2.78     , ObjectID    , 1.3.6.1.2.1.25.2.1.10

So 1.3.6.1.2.1.25.2.1.10 == hrStorageNetworkDisk.  Here is list of other partition types:
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=QT/QnBWz/c2F3cKrvzqLhg==

Resolution

Extend the vendor cert to add support for 4 or 10 to show network disks in the DA. 

Vendor cert infolved is  "Host Resources Storage" ; internal name=hrStorageMib

The following documentation details how to extend a vendor cert

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/22-2/building/self-certification/create-or-extend-vendor-certifications.html

<Filter>(snmpOIDParser(hrStorageType,hrStorageType.toString().split("\\.").length,-1).toString()==4 || snmpOIDParser(hrStorageType,hrStorageType.toString().split("\\.").length,-1).toString()==10) &amp;&amp; hrStorageSize != 0</Filter>

 

 1. Use a REST client with the following header and basic authentication

         content-type=application/xml

2. do a GET on the following URL to your DA 

        http://<DA>:8581/typecatalog/certifications/snmp/extension/hrStorageMib

3. Add your Expressions, ExpressionGroup tags and the filter to the extension, so it looks as follows

      <?xml version="1.0" encoding="UTF-8"?>
<!--Auto-generated by the type catalog local manager.-->
<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.1</Version>
  <FacetType name="hrStorageMib" 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="hrNRMStorageDS">
<Filter>(snmpOIDParser(hrStorageType,hrStorageType.toString().split("\\.").length,-1).toString()==4 || snmpOIDParser(hrStorageType,hrStorageType.toString().split("\\.").length,-1).toString()==10) &amp;&amp; hrStorageSize != 0</Filter>
</ExpressionGroup>
</Expressions>
  </FacetType>
</DataModel>


4. Use PUT to update the extension for this vendor cert

      http://<DA>:8581/typecatalog/certifications/snmp/extension/hrStorageMib