Change metric name
search cancel

Change metric name

book

Article ID: 262292

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

Needs to change in metric name from Historical Interface Speed (bps) to Physical Interface Speed

Environment

Release : 22.2

Resolution

See Create or Extend Metric Families Guide
 
Example using Rest Client
Method tab select PUT
In the Body settings, select application/properties as the Body Content-type
Example:
 
Use the URL http://da_hostname:8581/typecatalog/metricfamilies/extension/mf_name
 
To find the mf_name goto DA Server and run:
[root@da certifications]# fgrep -R "Historical Interface Speed (bps)" *
CA_22.2.3.581/metric_families/im.ca.com-metricfamilies-NormalizedAggregatedPortInfo.xml:        <Documentation>Historical Interface Speed (bps)</Documentation>
CA_22.2.3.581/metric_families/im.ca.com-metricfamilies-NormalizedPortInfo.xml:        <Documentation>Historical Interface Speed (bps)</Documentation>
CA_22.2.3.581/metric_families/im.ca.com-metricfamilies-NormalizedVPNInterfaceInfo.xml:        <Documentation>Historical Interface Speed (bps)</Documentation>
[root@da certifications]#
 
SO you need to change:
      <Attribute name="HistoricalInterfaceSpeed" type="Double">
        <Documentation>Historical Interface Speed (bps)</Documentation>
 
So in Rest Client Body you need to inform:
im.ca.com.normalizer.<metricfamilyname>.attribute.<attributename>.attributedisplayname=AttributeDisplayName
 
im.ca.com.normalizer.normalizedaggregatedportinfo.attribute.historicalinterfacespeed.attributedisplayname=Physical Interface Speed
im.ca.com.normalizer.normalizedaggregatedportinfo.attribute.historicalinterfacespeed.documentation=Old Historical Interface Speed (bps)
 
Do the same for:
So in Rest Client you need to inform:
http://<DA>:8581/typecatalog/metricfamilies/extension/NormalizedPortInfo
Rest Client Body
im.ca.com.normalizer.normalizedportinfo.attribute.historicalinterfacespeed.attributedisplayname=Physical Interface Speed
im.ca.com.normalizer.normalizedportinfo.attribute.historicalinterfacespeed.documentation=Old Historical Interface Speed (bps)
 
http://<DA>:8581/typecatalog/metricfamilies/extension/NormalizedVPNInterfaceInfo
Rest Client Body
im.ca.com.normalizer.normalizedvpninterfaceinfo.attribute.historicalinterfacespeed.attributedisplayname=Physical Interface Speed
im.ca.com.normalizer.normalizedvpninterfaceinfo.attribute.historicalinterfacespeed.documentation=Old Historical Interface Speed (bps)