05 Jan 2023 07:10 PM - last edited on 09 Jan 2023 09:36 AM by Ana_Kuzmenchuk
Hello....good day.
Someone know how to get a report for the oneagent versions for all hosts in my environment??? there are some API for get a table or pdf or xls data file???
Thnks in advance!
Jaime Chavez
Solved! Go to Solution.
05 Jan 2023 08:52 PM - edited 05 Jan 2023 08:53 PM
Hello,
You may want to try environment API v2: /entities (monitored entities)
Example: curl -X GET "https://dt-host/e/<tenantId>/api/v2/entities?entitySelector=type%28HOST%29&fields=properties" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token <yourToken>"
Extract from response:
"osType": "LINUX",
"state": "RUNNING",
"physicalMemory": 99129450496,
"detectedName": "hostFQDN",
"installerVersion": "1.255.179.20221213-180126",
Tibebe