NSX-T Data Center REST API
Update event associated with event-id.
Update event identified by event-id.Request:
Method:
PUT
URI Path(s):
/api/v1/events/{event-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MonitoringEvent+
Example Request:
PUT /api/v1/events/manager_health.manager_cpu_usage_high { "feature_name": "manager_health", "event_type": "manager_cpu_usage_high", "feature_display_name": "Manager Health", "event_type_display_name": "CPU Usage High", "id": "manager_health.manager_cpu_usage_high", "node_types": [ "NSX_MANAGER" ], "description": | "The CPU usage for the manager node identified by <entity-id> appears to be\nrising.", "description_on_clear": | "The CPU usage for the manager node identified by <entity-id> is no longer\nrising.", "recommended_action": | "Use the top command to check which processes have the most CPU usages, and\nthen check \/var\/log\/syslog and these processes' local logs to see if there\nare any outstanding errors to be resolved.", "severity": "WARNING", "event_true_snmp_oid": "1.3.6.1.4.1.6876.120.1.0.1.0.1", "event_false_snmp_oid": "1.3.6.1.4.1.6876.120.1.0.1.0.2", "is_threshold_fixed": false, "is_disabled": false, "threshold": 90, "sensitivity": 90, "suppress_alarm": false, "suppress_snmp_trap": false, "entity_resource_type": "ClusterNodeConfig", }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
MonitoringEvent+