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.
Answer by Andrew M. ·
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:
See this page for more information on the REST API syntax for the required request:
Hope that helps.
Register test run through restAPIs 3 Answers