List devices for a Metric Family in Dx NetOps Data Aggregator
search cancel

List devices for a Metric Family in Dx NetOps Data Aggregator

book

Article ID: 6731

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

I would like to list all the elements/devices associated to a particular metric family in NetOps Portal

How do I find out devices are in a certain metric family?

Environment

All supported Dx NetOps releases

Resolution

To list the elements/devices in a metric family the first thing you need to do is get the internal metric family name.

To get the internal metric family name go to Administration -> data aggregator -> monitoring configuration -> metric families then hover over the name column header and click the gear icon and select columns and click the check box for internal name.

Then use this metric family internal name in the xml below.

The internal name in the below xml example is "NormalizedPortInfo".

*** Replace this with the internal name of the metric family you want to list. ***

 

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">

    <Filter>

        <And>

            <MetricFamilyDiscoveryHistory.MetricFamily type="EQUAL">{http://im.ca.com/normalizer}NormalizedPortInfo</MetricFamilyDiscoveryHistory.MetricFamily>

        </And>

    </Filter>

    <Select use="exclude" isa="exclude">

    <Item use="exclude">

      <Name use="include"/>

    </Item>

  </Select>

</FilterSelect>

 

next, using a REST client, we will do a POST of the above XML body to:

http://<DA_SYSTEM>:8581/rest/devices/mfdiscoveryhistory/filtered

(replace <DA_SYSTEM> with your da)

note, after 21.2.1, authorization will be needed, use the admin account from NetOps Portal.

 

.

This will provide the list of elements/devices associated to the metric family.