System Administration > Monitoring > System Health > Plugins

Create a system health plugin

Create a system health plugin.

Request:

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

Example Request:

POST https://<nsx-mgr>/api/v1/systemhealth/plugins { "type": "COMPUTE", "display_name": "health-check-compute", "publisher": "vmware" }

Successful Response:

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

Example Response:

{ "id": "72e1bd4b-6df6-42d0-9c59-a1c31312c9f1", "type": "COMPUTE", "display_name": "health-check-compute", "publisher": "vmware", "resource_type": "SystemHealthPlugin", "_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: