cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get OneAgent versions for all enviroment hosts?

Jachavez
Visitor

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

1 REPLY 1

tibebe_m_digafe
Advisor

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

Featured Posts