Collect KPIs

The KPI REST endpoints provide key performance indicators (KPIs) that summarize your network cluster’s overall health while also allowing you to examine specific events in greater detail. KPIs reflect aggregated data across all domains.

Access the API

You can access key performance indicators by making a GET request to the /v1/kpis endpoint. You must specify your username and password in the request body:

curl --request GET \
  --url https://<ip_address>/nmx/v1/kpis \
  --user "<username>:<password>" --insecure 
wget --quiet \
  --method GET \
  --user '<username>' \
  --password '<password>' \
  --output-document \
  - https://<ip_address>/nmx/v1/kpis --no-check-certificate

Apply Filters

The REST API supports filtering based on health or inventory information. To use these filters, append the filter parameter to the endpoint, for example kpis?filter=HEALTH. Refer to the Swagger API for a complete list of available filters.

cURL example with filtering
cURL example without filtering

View KPIs in Grafana

To view KPIs in Grafana, first download Grafana and configure the data sources. When you are ready to import the dashboard template, copy the contents of the kpi-dashboard JSON file and paste them in Grafana.

kpi-dashboard.json