System Administration > Configuration > NSX Intelligence > Host

Get NSX-Intelligence host configuration (Deprecated)

Deprecated - Please use the intelligence API /napp/api/v1/intelligence/data-collection/host-config
instead, after installing NSX Intelligence.
Get the current NSX-Intelligence host configuration.
Recommend to keep the value same for flow_data_collection_interval
and context_data_collection_interval.

Request:

Method:
GET
URI Path(s):
/api/v1/intelligence/host-config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/napp/api/v1/intelligence/data-collection/host-config

Successful Response:

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

Example Response:

{ "enable_data_collection": true, "enable_flow_data_collection": true, "enable_context_data_collection": false, "enable_deep_packet_inspection": false, "enable_external_ip_aggregation": false, "broker_bootstrap_servers": [ { "address": "127.0.0.1", "port": 9092 } ], "broker_certificate": "pem-encoded-cert-value", "flow_data_collection_interval": 5, "max_active_flow_count": 25000, "max_inactive_flow_count": 50000, "private_ip_prefix": [ { "address_type": "IPV4", "address": "10.0.0.0", "prefix_length": 8 }, { "address_type": "IPV4", "address": "172.16.0.0", "prefix_length": 12 }, { "address_type": "IPV4", "address": "192.168.0.0", "prefix_length": 16 } ], "context_data_collection_interval": 5 }

Required Permissions:

read

Feature:

nsx_intelligence_host_configuration

Additional Errors: