You can get that information using the devices endpoint in the REST API.
Original Message:
Sent: Sep 24, 2024 06:32 PM
From: Jose Carlos Montes De Oca Luna
Subject: How to consult the Status of the Data collector devices in Performance Management?
Hello Vincent
Maybe I haven't understood it, but what I'm looking for is to extract an inventory where the hostname, IP, and Status come from. Just as the image appears.
For example, this value I want obtain it in an export
Thank you
Original Message:
Sent: Sep 24, 2024 03:03 AM
From: Jose Vicente Espinosa
Subject: How to consult the Status of the Data collector devices in Performance Management?
Hi Jose Carlos,
you can use the Data Aggregator REST API to get information about the Data collectors
http://da:8581/rest/dcms
You can filter the returned information using the filtered endpoint and the corresponding "Select" payload
http://da:8581/rest/dcms/filtered
Example:
curl -u admin:<password> -H "Content-Type: application/xml" http://da:8581/rest/dcms/filtered -d'<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Select use="exclude" isa="exclude">
<DataCollectionMgrInfo use="exclude">
<CollectorState use="include"/>
<HostName use="include"/>
</DataCollectionMgrInfo>
<DataCollectorPollingInfo use="exclude">
<Status use="include"/>
</DataCollectorPollingInfo>
</Select>
</FilterSelect>'
Regards
Original Message:
Sent: Sep 23, 2024 03:51 PM
From: Jose Carlos Montes De Oca Luna
Subject: How to consult the Status of the Data collector devices in Performance Management?
Good morning community.
I have a question: it is about performing a query where I can extract all the DC devices from an environment and have the "Status" Field since the information on these comes as UP or Down. Could you help me by sharing information for this execution.
Greetings!