System Administration > Monitoring > System Health > Profiles

Create a system health profile

Create a system health profile.

Request:

Method:
POST
URI Path(s):
/api/v1/systemhealth/profiles
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SystemHealthAgentProfile+

Example Request:

POST https://<nsx-mgr>/api/v1/systemhealth/profiles { "display_name": "compute-health", "enabled": true, "plugin_id":"22e1bd4b-6df6-42d0-9c59-a1c31312c9f1", "config": "{\"CHECK_INTERVAL\": 60}" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
SystemHealthAgentProfile+

Example Response:

{ "id": "72e1bd4b-6df6-42d0-9c59-a1c31312c9f1", "type": "COMPUTE", "display_name": "compute-health", "enabled": true, "plugin_id":"22e1bd4b-6df6-42d0-9c59-a1c31312c9f1", "config": "{\"CHECK_INTERVAL\": 60}", "resource_type": "SystemHealthAgentProfile", "_create_user": "admin", "_create_time": 1557909800701, "_last_modified_user": "admin", "_last_modified_time": 1557909945019, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

tools_system_health_agent

Additional Errors: