System Administration > Monitoring > Dashboards > Capacity Dashboard

Returns capacity usage data for NSX objects

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "capacity_usage": [ { "usage_type": "NUMBER_OF_EDGE_CLUSTERS", "display_name": "Edge Clusters", "current_usage_count": 0, "max_supported_count": 16, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_EDGE_NODES", "display_name": "System-wide Edge Nodes", "current_usage_count": 0, "max_supported_count": 160, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_TIER0_ROUTERS", "display_name": "Tier 0 Logical Routers", "current_usage_count": 0, "max_supported_count": 80, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_TIER1_ROUTERS", "display_name": "Tier 1 Logical Routers", "current_usage_count": 0, "max_supported_count": 2000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_PREFIX_LIST", "display_name": "Prefix Lists", "current_usage_count": 0, "max_supported_count": 500, "min_threshold_percentage": 50, "max_threshold_percentage": 90, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_NAT_RULES", "display_name": "System-wide NAT rules", "current_usage_count": 0, "max_supported_count": 25000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_DHCP_SERVERS", "display_name": "DHCP Servers", "current_usage_count": 0, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_DHCP_IP_POOLS", "display_name": "System-wide DHCP Ranges/Pools", "current_usage_count": 0, "max_supported_count": 20000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_TIER1_WITH_NAT_RULE", "display_name": "Tier 1 Logical Routers with NAT enabled", "current_usage_count": 0, "max_supported_count": 2000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_NSGROUP", "display_name": "Network and Security Groups", "current_usage_count": 2004, "max_supported_count": 10000, "min_threshold_percentage": 10, "max_threshold_percentage": 20, "current_usage_percentage": 20.04, "severity": "CRITICAL" }, { "usage_type": "NUMBER_OF_IPSETS", "display_name": "IP Sets", "current_usage_count": 5001, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 50.01, "severity": "WARNING" }, { "usage_type": "NUMBER_OF_GROUPS_BASED_ON_IP_SETS", "display_name": "Groups based on Ip Sets", "current_usage_count": 1002, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 10.02, "severity": "INFO" }, { "usage_type": "NUMBER_OF_VCENTER_CLUSTERS", "display_name": "Number of vCenter clusters", "current_usage_count": 0, "max_supported_count": 640, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_PREPARED_HOSTS", "display_name": "Hypervisor Hosts", "current_usage_count": 0, "max_supported_count": 1024, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_ACTIVE_DIRECTORY_GROUPS", "display_name": "Active Directory Groups", "current_usage_count": 0, "max_supported_count": 100000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_ACTIVE_DIRECTORY_DOMAINS", "display_name": "Active Directory Domains", "current_usage_count": 0, "max_supported_count": 15, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_FIREWALL_SECTIONS", "display_name": "System-wide Firewall Sections", "current_usage_count": 2, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0.02, "severity": "INFO" }, { "usage_type": "NUMBER_OF_FIREWALL_RULES", "display_name": "System-wide Firewall Rules", "current_usage_count": 2, "max_supported_count": 100000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_DFW_SECTIONS", "display_name": "Distributed Firewall Sections", "current_usage_count": 2, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0.02, "severity": "INFO" }, { "usage_type": "NUMBER_OF_DFW_RULES", "display_name": "Distributed Firewall Rules", "current_usage_count": 2, "max_supported_count": 100000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" }, { "usage_type": "NUMBER_OF_LOGICAL_SWITCHES", "display_name": "Logical Switches", "current_usage_count": 0, "max_supported_count": 10000, "min_threshold_percentage": 50, "max_threshold_percentage": 80, "current_usage_percentage": 0, "severity": "INFO" } ], "meta_info": { "last_updated_timestamp": 1554048375022, "min_global_threshold_percentage": 50, "max_global_threshold_percentage": 80 }, "unreported_usage_types" : [NUMBER_OF_LOGICAL_PORTS] "_protection": "NOT_PROTECTED" }

Required Permissions:

read

Feature:

capacity_usage

Additional Errors: