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

API to return infrastructure health of system profile

Hi,

Is there any method available in AppMon for requesting the infrastructure health (CPU/Mem/Disk) of a particular system profile via the REST API? Before we kick off JMeter testing in our environment we want to make a call to ensure that the underlying infrastructure is in good health before starting.

If this is not directly available are there any workarounds that anyone may have implemented to achieve similiar outcome?

Any info appreciated.

Thanks


1 REPLY 1

The_AM
Dynatrace Pro
Dynatrace Pro

Hi Jonathan,

You'd first have to include the infrastructure measures as custom incident rules in your system profile, then once you have that, use the API to check for any alerts.

For example, the main steps you'd need to take:

  1. Create a new measure for each of CPU (eg: CPU Total Time), Disk Storage Utilization, Memory Utilization.
  2. Create an incident rule for each new measure.
  3. Call the API with the parameters to specify the system profile and a recent timeframe.

See this page for more information on the REST API syntax for the required request:

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

Hope that helps.

Regards,

Andrew


Regards,
Andrew M.