How to gather a list of Data Aggregator devices with a specific status?
search cancel

How to gather a list of Data Aggregator devices with a specific status?

book

Article ID: 16477

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction



How to gather a list of Data Aggregator devices with a specific status?

Environment

Release: IMDAGG99000-2.8-Infrastructure Management-Data Aggregator
Component:

Resolution

 

This will require a REST client (browser based or client installation)

 

1. Enter the URL: http://<DA-HOST>:8581/rest/devices/filtered

 

2.Select method: POST

 

3.Enter header:  Content-Type = application/xml

 

4.Paste the following XML for the Body:

 

 

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

 

<Filter>

 

<And>

 

<Device.CalculatedContactStatus type="EQUAL">DOWN</Device.CalculatedContactStatus>

 

</And>

 

</Filter>

 

<Select use="exclude">

 

  <Item use="exclude">

 

     <Name use="include"/>

 

  </Item>

 

  <Device use="exclude">

 

   <PrimaryIPAddress use="include"/>

 

  </Device>

 

</Select>

 

</FilterSelect>

 

 

5.Define the status value (DOWN, UP, UNKNOWN, MANAGEMENT_LOST)

 

6.Click Send

 

7.Verify the status

 

8. Review the results

Example:

 

DeviceList>

 

<Device version="1.0.0">

<ID>5559</ID>
<PrimaryIPAddress>138.42.187.166</PrimaryIPAddress>
<Item version="1.0.0">
<Name>lanke07m4600.ca.com</Name>
</Item>
</Device>

</DeviceList>