I’m using the Managed API to retrieve information about hosts and was wondering if this can be expanded?
As an example, i can retrieve CPU count, hostname, associated tags using a query like this;
tenant.dynatrace-managed.com/e/ENVIRONMENT/api/v1/entity/infrastructure/hosts/?Api-token=token
osType: "WINDOWS",<br>osArchitecture: "X86",<br>osVersion: "Windows Server 2012 R2 Standard, ver. 6.3.9600",<br>hypervisorType: "VMWARE",<br>ipAddresses: <br>["192.xx",<br>"192.xx"<br>],<br>bitness: "64bit",<br>cpuCores: 4,<br>logicalCpuCores: 4,<br>monitoringMode: "FULL_STACK",<br>agentVersion: <br>{major: 1,<br>minor: 149,<br>revision: 213,<br>timestamp: "20180809-141631",<br>sourceRevision: ""<br>},<br>consumedHostUnits: 1,<br>userLevel: "SUPERUSER"
Can other host level stats also be included at this same level? The 2 specific ones i’m interested at Total Installed RAM Gb (12) and Uptime Days (57).
If not, is there an alternative way to get this info currently via the API?