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