System Administration > Configuration > NSX Intelligence > Host

Patch NSX-Intelligence host configuration (Deprecated)

Deprecated - Please use the intelligence API /napp/api/v1/intelligence/data-collection/host-config
instead, after installing NSX Intelligence.
Patch the current NSX-Intelligence host configuration.
Return error if NSX-Intelligence is not registered with NSX.

Request:

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

Example Request:

PATCH https://<nsx-mgr>/napp/api/v1/intelligence/data-collection/host-config { "flow_data_collection_interval": 2, "context_data_collection_interval": 2 }

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 } ], "flow_data_collection_interval": 2, "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": 2 }

Required Permissions:

crud

Feature:

nsx_intelligence_host_configuration

Additional Errors: