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

Host metrics using API

sujith_puthanka
Participant

How to get the host CPU, Memory and Disk metrics from Infrastructure dashboard using Dynatrace APIs?. We are on 7.0 version. Please suggest.


7 REPLIES 7

BabarQayyum
Leader

Hello @Sujith P B.

There is no APIs in AppMon but the REST interfaces for available for the the AppMon Server and AppMon Client.

Have a look on the below link for more insight.

https://www.dynatrace.com/support/doc/appmon/appmo...

Regards,

Babar


sujith_puthanka
Participant

I looked in to the documentation , but I don't see anything for host metrics. Do you have an example on how to query the host metrics?.


Hello @Sujith P B.

Through the Windows Performance Monitor, AppMon monitors host system parameters that are running a Windows-based operating system.

https://www.dynatrace.com/support/doc/appmon/infrastructure-monitoring/monitors/windows-performance-monitor/

The AppMon Unix Monitor monitors local or remote Unix systems using agentless system monitoring.

https://www.dynatrace.com/support/doc/appmon/infrastructure-monitoring/monitors/unix-system-monitoring/

Regards,

Babar


sujith_puthanka
Participant

I am looking for a REST API using which I can query host metrics. I do see API endpoints for the System Profiles, Alerts, AgentGroups, Live Sessions etc. But not for host metrics or other time series data points.


Hello @Sujith P B.

Use the shared plugins for the host metrics information.

Regards,

Babar


ynias_reynders
Participant

You can also chart the metrics you want and then get the metrics you need through the dashboard api.


snikolic
Participant

Not sure how to do it from Dashboard, but these is the Metrics API (not sure if it is fully released) that should be able to provide that (see here).