beautypg.com

Query alarm events, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 295: Returned result, Interface uri access method returned result

background image

Query Alarm Events

Query and list alarm events.

Interface URI

/fault/trapEvent

Access Method

HTTP

GET

Parameters

Query parameters

Alarming enterprise ID.

trapEnterpriseId

String type. Required. No default value. For the valid values, see

Query Alarming Enterprises

.

Only the number of records that meet the requirements is returned.

total

Boolean type. Optional. The default value is false. When the value is true, the returned message
body is empty, and the Total attribute of the message header returns the number of records that meet
the requirements.

Returned Result

Status codes

200 (OK): Success.

Message header

When the total parameter takes true, the Total attribute returns the total number of records that
meet the requirements. The message body is empty.

HTTP/1.1 200 OK
Total: 133

Elements

trapEvent sub-elements

Event OID, which uniquely identifies an event.

eventOID

String type.

Event name.

eventName

String type.

Specific ID of the event.

specificID

Integer type.

Query Alarm Events 295