Description

Analytics alarm query

VM/Tenants based UVEs

Symptoms

Finding the alarm information from analytics API query.

Solution

1. Request to find all the alarm information.


 Port "8081" for contrail-analytics-api


Command to be executed


# curl http://<contrail-analytics-api>:8081/analytics/alarms | python -m json.tool


2. Request to find the VMIs Name


 Command to be executed


# curl http://<contrail-analytics-api>:8081/analytics/uves/virtual-machine-interfaces | python -m json.tool


 3. To find the corresponding VMIs name and UUID to relate in the logs

Port "8082" for contrail-api


 Command to be executed


# curl -k http://<contrail-api>:8082/virtual-machine-interfaces | python -m json.tool


 


Modification History

2024-11-27 : Article Created