System Administration > Monitoring > Dashboards > Capacity Dashboard

Returns warning threshold(s) set for NSX Objects.

Returns warning threshold(s) set for NSX Objects.

Request:

Method:
GET
URI Path(s):
/api/v1/capacity/threshold
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/capacity/threshold

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
CapacityThresholdList+

Example Response:

{ "capacity_thresholds": [ { "threshold_type": "NUMBER_OF_PREFIX_LIST", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_VCENTER_CLUSTERS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_NAT_RULES", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_EDGE_CLUSTERS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_DHCP_IP_POOLS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_IPSETS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_EDGE_NODES", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "GLOBAL_DEFAULT", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_TIER1_ROUTERS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_PREPARED_HOSTS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_ACTIVE_DIRECTORY_GROUPS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_LOGICAL_SWITCHES", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_DFW_SECTIONS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_FIREWALL_RULES", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_LOGICAL_PORTS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_DFW_RULES", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_TIER1_WITH_NAT_RULE", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_ACTIVE_DIRECTORY_DOMAINS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_GI_PROTECTED_HOSTS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_DHCP_SERVERS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_NSGROUP", "min_threshold_percentage": 10, "max_threshold_percentage": 20 }, { "threshold_type": "NUMBER_OF_FIREWALL_SECTIONS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_GROUPS_BASED_ON_IP_SETS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_TIER0_ROUTERS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 }, { "threshold_type": "NUMBER_OF_GI_PROTECTED_VMS", "min_threshold_percentage": 50, "max_threshold_percentage": 80 } ], }

Required Permissions:

read

Feature:

capacity_usage

Additional Errors: