How Can We Help?

To get details on behavior group and non-group KPIs, use the following APIs:

APIs: 

  • GET /config/accounts/{accountId}/componentsKPIs – To get details of supported KPIs for a particular component sub-type. This helps in getting IDs of KPIs in order to fetch further details on these KPIs.
  • GET /kpi-data/accounts/{accountId}/instances/{instanceId}/non-group-kpi/{kpiId} – To get details on behavior non-group KPI for a host or component instance.
  • GET /kpi-data/accounts/{accountId}/instances/{instanceId}/group-kpi/{kpiId}/{kpiAttribute} – To get details on behavior group KPI for a host or component instance.

You can create a script as follows:

Input to the script: organization ID, host instance ID, component sub-type (for a given host), component version (for a given host), time range (1 day)

Script Output: Multiple CSVs

  • CSV1 – Details of component KPIs for given component sub-type and version for an account.
  • CSV2…N – Details of a KPI for a given host instance (One CSV per KPI). Here, N is the total number of KPIs across CPU and memory categories.
  • Output should be in tar or zip format.

Example:

Say, there are eight KPIs for CPU and Memory categories. You get Nine CSVs as output.

  • CSV1 containing details of supported KPIs for a particular component sub-type.
  • CSV2 to CSV7 containing details of six KPIs for the CPU category.
  • CSV8 and CSV9 contain details of two KPIs for the Memory category.
  • All these CSVs are part of a single output folder.

bash healthPerformaceReport.sh <ORG_ID> <HOST_INSTANCE_ID> < COMP_SUB_TYPE> <COMP_VERSION> <FROM_TIME> <TO_TIME>

FROM AND TO TIME FORMAT: “YYYY-MM-DD HH:MM:SS”

bash healthPerformaceReport.sh 2 4 RHEL “6.x” “2020-03-01 10:29:07” “2020-04-17 10:29:07”

Table of Contents