Change the name of a metric in the interface metric famiily

book

Article ID: 145220

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

In the metric family, Interface i'm trying to change the name from speed in or speed out to bandwidth. I want the same functionality, but just to change the label name.

 

Environment

Release : 3.x

Resolution

You must do an extension against the interface metric family by using a REST client to do a "PUT" against the following endpoint:

  • http://DA:8581/typecatalog/metricfamilies/extension/NormalizedPortInfo


Here is the syntax:

<DataModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" namespace="http://im.ca.com/normalizer" xsi:noNamespaceSchemaLocation="IMDBCertificationFacet.xsd">
 <Author>CA</Author>
 <Version>2.03</Version>
 <FacetType name="NormalizedPortInfo" descriptorClass="com.ca.im.core.datamodel.certs.NormalizedFacetDescriptorImpl">
  <FacetOf namespace="http://im.ca.com/core" name="Item"/>
  <AttributeGroup name="PortInfoPollable" external="true" list="true">
   <Attribute name="SpeedIn" type="Double">
    <Documentation>The interface's current utilization-in (bps)</Documentation>
    <IsDbColumn>true</IsDbColumn>
    <Baseline>false</Baseline>
    <RollupExpression/>
    <Minimum>false</Minimum>
    <Maximum>false</Maximum>
    <RollupStrategy>Avg</RollupStrategy>
    <StandardDeviation>false</StandardDeviation>
    <Variance>false</Variance>
    <Percentile>0</Percentile>
    <Percentile2>0</Percentile2>
    <Percentile3>0</Percentile3>
    <ProjectionPercentile>0</ProjectionPercentile>
    <Polled>true</Polled>
    <Units>BitsPerSecond</Units>
    <AttributeDisplayName>BandwidthIn</AttributeDisplayName>
   </Attribute>
   <Attribute name="SpeedOut" type="Double">
    <Documentation>The interface's current utilization-out (bps)</Documentation>
    <IsDbColumn>true</IsDbColumn>
    <Baseline>false</Baseline>
    <RollupExpression/>
    <Minimum>false</Minimum>
    <Maximum>false</Maximum>
    <RollupStrategy>Avg</RollupStrategy>
    <StandardDeviation>false</StandardDeviation>
    <Variance>false</Variance>
    <Percentile>0</Percentile>
    <Percentile2>0</Percentile2>
    <Percentile3>0</Percentile3>
    <ProjectionPercentile>0</ProjectionPercentile>
    <Polled>true</Polled>
    <Units>BitsPerSecond</Units>
    <AttributeDisplayName>BandwidthOut</AttributeDisplayName>
   </Attribute>
  </AttributeGroup>
 </FacetType>
</DataModel>

  • In this example I changed "Speed In" and "Speed Out" to "BandwidthIn" and "BandwidthOut"

Next, on the DA, do the following:

1. cd /opt/IMDataAggregator/data/certifications/CA_3.xxxxx/metric_families/properties
2. vi NormalizedPortInfo.properties
3. Add the following lines

im.ca.com.normalizer.normalizedportinfo.attribute.speedin.attributedisplayname=Bandwidth In
im.ca.com.normalizer.normalizedportinfo.attribute.speedout.attributedisplayname=Bandwidth Out

4. Save the file

You will need to refresh the browser at this point but that is all.  There is no need to restart the DA as the changes are picked up on the fly

Additional Information

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/building/self-certification/create-or-extend-metric-families.html