External monitoring tools display the AVI Load Balancer Controller node UUID for identification and tracking purposes.
Customers may need to manually retrieve this UUID from the Controller for validation, troubleshooting, or integration with monitoring systems. This article outlines the steps to obtain the Controller UUID.
AVI Load Balancer: All versions
Please use one of the below steps to get the AVI Load Balancer controller UUID
Method-1:
Note: For this to work we have to enable "Allow Basic Authentication" setting under Administration --> System Settings.
>> Run the Below API call to get the Controller UUID details. Look for vm_uuid details.
curl -X GET -u 'admin:Password' "https://<Controller-IP>/api/cluster" -H "accept: application/json" -H "X-Avi-Version: <Controller-Version>"
{
"vm_uuid": "##########",
"vm_hostname": "node1.controller.local",
}Method-2:
>> SSH into One of the controller node.
>> Navigate to path /var/lib/avi/etc and open the file zk_servers.txt and look for uuid of each controller node.
{
"node1.controller.mgmt":{
"mgmt_ip":"#########",
"uuid":"#########"
}
}