System Administration > Monitoring > Health Performance Monitoring

Collect alarms from all NSX nodes (Experimental) (Deprecated)

This API is executed on a manager node to return current alarms from all NSX nodes.
This API is deprecated as part of alarm framework enhancements.
Please use below new APIs:
GET /alarms
GET /alarms/<alarm-id>
POST /alarms/<alarm-id>?action=set_status
POST /alarms?action=set_status
GET /events
GET /events/<event-id>
PUT /events/<event-id>
POST /events/<event-id>?action=set_default

Request:

Method:
GET
URI Path(s):
/api/v1/hpm/alarms
Request Headers:
n/a
Query Parameters:
AlarmQueryParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/hpm/alarms

Successful Response:

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

Example Response:

{ "result_count": 1, "results": [ { "id": "vmwNSXPlatformPasswordExpiryStatus_97492720", "message": "audit user password expires within 3 day(s)", "severity": "MAJOR", "source_comp": "nsx-manager", "source_comp_id": "aab00442-95a1-f09b-31bc-18e67f056b24", "source_subcomp": "passwd_monitor", "sources": { "user_id": "10002", "user_name": "audit" }, "state": "ACTIVE", "timestamp": 1566511461.0 } ] }

Required Permissions:

read

Feature:

system_log

Additional Errors: