How to display the CPU names differently in Portal for BigIP devices?
search cancel

How to display the CPU names differently in Portal for BigIP devices?

book

Article ID: 375823

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

Is there a way to change the CPU names displayed in Portal?

From: Cpu-1.48.1, Cpu-1.48.2, Cpu-1.48.3, Cpu-1.48.4, Cpu-1.48.5, Cpu-1.48.6, Cpu-1.48.7, Cpu-1.48.8

To: Cpu-1.1, Cpu-1.2, Cpu-1.3, Cpu-1.4, Cpu-1.5, Cpu-1.6, Cpu-1.7, Cpu-1.8

Similar as displayed by the snmpwalk utility:

# snmpwalk -v2c -c public localhost 1.3.6.1.4.1.3375.2.1.7.5.2.1.2
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".1 = INTEGER: 1
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".2 = INTEGER: 2
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".3 = INTEGER: 3
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".4 = INTEGER: 4
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".5 = INTEGER: 5
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".6 = INTEGER: 6
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".7 = INTEGER: 7
F5-BIGIP-SYSTEM-MIB::sysMultiHostCpuIndex."1".8 = INTEGER: 8

Environment

DX NetOps Performance Management:  Any version

Resolution

Here are the steps to extend the Vendor Certification which will change the CPU names for the F5BibipMultiHostCpu in Portal:

a) You can either download the attached F5BigipMultiHostCpu_change_name.xml file or create a file with this content in the /opt/IMDataAggregator/data/certifications/extensions/ directory of the DA (Data Aggregator) host.

<?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="F5BigipMultiHostCpu" 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}NormalizedCPUInfo" name="F5BigipMultiHostCpu">
                <Expression destAttr="Names">"Cpu-" + CpuIndex.getTerm(0)+"."+CpuIndex.getTerm(2)</Expression>
            </ExpressionGroup>
        </Expressions>
    </FacetType>
</DataModel>

Note: If you have DA in Fault Tolerant, the data directory does not exist. Place the file in the /DASharedRepo/certifications/extensions/ directory of the active DA host.

Where DASharedRepo is the shared disk.

b) On the DA (Data Aggregator) host, navigate to the /opt/IMDataAggregator/data/certifications/extensions/ directory and run this cURL syntax to import the certification extension file (F5BigipMultiHostCpu_change_name.xml).

1) Go to the directory where you placed the xml file:

cd /opt/IMDataAggregator/data/certifications/extensions/

2) Run this cURL syntax to get the current version of the certification extension:

curl -u admin -X GET http://localhost:8581/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu         (OOB HTTP)

OR

curl -k -u admin -X GET https://localhost:8582/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu         (If you enabled HTTPS)

3) Run this cURL syntax to import the new certification extension file (F5BigipMultiHostCpu_change_name.xml) to update the CPU name for BigIP devices:

curl -u admin -H "Content-Type: application/xml" -X PUT -d @F5BigipMultiHostCpu_change_name.xml http://localhost:8581/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu

OR

curl -k -u admin -H "Content-Type: application/xml" -X PUT -d @F5BigipMultiHostCpu_change_name.xml https://localhost:8582/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu

 

4) Run this cURL syntax to confirm the new version of the certification extension:

curl -u admin -X GET http://localhost:8581/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu         (OOB HTTP)

OR

curl -k -u admin -X GET https://localhost:8582/typecatalog/certifications/snmp/extension/F5BigipMultiHostCpu         (If you enabled HTTPS)

The new version, 1.1 will be displayed.

c) On the Portal confirm the Metric Expression has been updated.

d) On the Portal, Polled Metric Families for the BigIP devices, click on Update Metric Family. After discovery is complete, the desired CPU names will be displayed.

Additional Information

Attachments

F5BigipMultiHostCpu_change_name.xml get_app