question

Sujith B. avatar image
Sujith B. asked ·

Host metrics using API

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.0
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Srdjan N. avatar image
Srdjan N. answered ·

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).

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Ynias R. avatar image
Ynias R. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sujith B. avatar image
Sujith B. answered ·

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.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hello @Sujith P B.

Use the shared plugins for the host metrics information.

Regards,

Babar

0 Likes 0 · ·
Sujith B. avatar image
Sujith B. answered ·

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?.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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

0 Likes 0 · ·
Babar Q. avatar image
Babar Q. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.