GET /policy/api/v1/infra/capacity/threshold API, the min_threshold_percentage reflects the specified value.{
"threshold_type" : "NUMBER_OF_EDGE_CLUSTERS",
"min_threshold_percentage" : 85.0,
"max_threshold_percentage" : 100.0
{
GET /api/v1/capacity/threshold API, the min_threshold_percentage remains at the default value.{
"threshold_type" : "NUMBER_OF_EDGE_CLUSTERS",
"min_threshold_percentage" : 70.0,
"max_threshold_percentage" : 100.0
}VMware NSX 4.x
When the value is changed from System > System Overview > Capacity, it is updated in the Policy view, but the value in the Manager view is not updated, which causes the alarm to trigger.
This alarm does not impact the system and can be safely ignored.
Workaround:
If you wish to prevent the alarm from triggering, perform the following steps:
Note down the complete output from the GET /api/v1/capacity/threshold API.
Modify the target values as shown below:
{
"threshold_type" : "NUMBER_OF_EDGE_CLUSTERS",
"min_threshold_percentage" : 70.0,
"max_threshold_percentage" : 100.0
}
Change to specified value on GUI:
{
"threshold_type" : "NUMBER_OF_EDGE_CLUSTERS",
"min_threshold_percentage" : 85.0,
"max_threshold_percentage" : 100.0
}
Use PUT /api/v1/capacity/threshold to update the data using the content you noted in Step 1 (with the modifications made in Step 2) as the payload.
Wait a few minutes and verify that the alarm has been resolved.
If changed the threshold from Plan & Troubleshoot > Consolidated Capacity, the issue described in KB#413355 will occur.