The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Prime Performance Manager provides Remote Procedure Call (RPC) Event API that accepts Simple Object Access Protocol (SOAP) OSS requests and responds with SOAP responses and traps. Prime Performance Manager also sends unsolicited messages through traps to the OSS. You can configure Prime Performance Manager to send new events to the northbound OSS asynchronously through traps.
The following topics describe the Prime Performance Manager events API:
An event is a single occurrence at a specific moment in time. Each event has an event ID. An alarm is a sequence of events that occur over a period of time. An alarm has a single alarm ID that exists for the duration of the events that define the alarm. For example, when the chassis temperature exceeds a certain threshold, Prime Performance Manager reports a minor alarm. When the temperature increases again, Prime Performance Manager escalates the alarm to major. When the temperature increases a third time, Prime Performance Manager escalates the alarm to critical. However, the alarm ID for this event sequence remains the same.
Prime Performance Manager does not consider the clearing condition in a state transition sequence like the one described in the example. For example, an ITP link may change state from normal to critical to normal to warning within an hour. An event is created for each transition: from normal to critical, from critical to normal, and from normal to warning. these three events make up the event sequence of an ITP Link State alarm.
The system or a user deletes (archives) alarms. Cleared alarms are alarms that have the severity Normal. The system archives clears alarms after one day (this is the default setting). The system archives unclears alarms after seven days. After the system or a user archives an alarm, if the condition occurs again, Prime Performance Manager raises a new alarm with a new alarm ID.
Configuring Prime Performance Manager to send events to a northbound OSS is performed using the Prime Performance Manager GUI. For information see “Adding Upstream OSS Hosts” procedure in the Cisco Prime Performance Manager 1.7 User Guide.
The following topics describe Prime Performance Manager event API operations. All the operations are listed as pseudocode with comments. The operations syntax is defined as Web Services Description Language (WSDL). The syntax is described in Event API WSDL and XSD Definitions. Event API operations use SOAP (Simple Object Access Protocol). Error codes are described in Event API Errors.
This method retrieves all the open alarms from Prime Performance Manager as traps.
TrapTarget target—Specifies the target to send the Prime Performance Manager alarm traps. The following parameters can be specified:
Hostname—Hostname or IP address to send the traps to.
Port Number —Port number to send the traps to.
Community String—Community string to fit the trap.
SNMP Version—Simple Network Management Protocol (SNMP) version for the traps: 1 or 2c.
MIB—Management Information Base (MIB) format to send the traps: CISCO-PRIME, CISCO-SYSLOG or CISCO-EPM-2.
This method retrieves all the events from Prime Performance Manager as traps.
TrapTarget target—Specifies the target to send the Prime Performance Manager event traps. The following parameters can be specified:
Hostname—Hostname or IP address to send the traps to.
Port Number —Port number to send the traps to.
Community String—Community string to fit the trap.
SNMP Version—Simple Network Management Protocol (SNMP) version for the traps: 1 or 2c.
MIB—Management Information Base (MIB) format to send the traps: CISCO-PRIME, CISCO-SYSLOG or CISCO-EPM-2.
This method retrieves a list of filtered events from Prime Performance Manager.
– Event ID—Specifies a list of event IDs to filter.
– Start Date—Specifies the starting date to filter the events.
– End Date—Specifies the end date to filter the events.
– Severity—Specifies a list of severities to filter the events. Valid severities can be customized in the Prime Performance Manager Event Editor.
– Category—Specifies a list of categories to filter the events. Valid event categories can be customized in the Prime Performance Manager Event Editor.
– Acknowledged—Filter based on whether the events are acknowledged.
– Cleared—Filter based on whether the events are cleared.
– Message Text—Filter based on whether the events contain a given message text.
– StartAlarmId—Filter based on the starting alarm ID.
– EndAlarmId—Filter based on the ending alarm ID.
– StartAlarmChangeTime—Filter based on the starting alarm change time.
– EndAlarmChangeTime—Filter based on the ending alarm ID.
– NetworkElement—Filter based on the network element.
– Tenant—Filter based on the tenant.
– 2—Filters for alarms, for example, <AlarmMode>2</AlarmMode>
– 3—Filters for events, for example <AlarmMode>3</AlarmMode>
A list of events sent as a result of this method.
This method retrieves the filtered events from Prime Performance Manager as traps.
TrapTarget target—Specifies the target to send Prime Performance Manager event traps. The following parameters can be specified:
EventFilter filter—Specifies the filter rules to retrieve Prime Performance Manager event. These filters can be specified as standalone or combined together. If multiple filters are specified, they are applied using “AND” logic. The following parameters can be specified:
This method resends the traps.
This method clears the specified events.
EventIDList eventList—List of the events to clear.
String userid—User ID who cleared the events.
String note—Note explaining the reason for clearing this event.
This method acknowledges the specified events.
EventIDList eventList—List of the events to acknowledge.
String userid—User ID who cleared the events.
String note—Note explaining the reason for acknowledging the events.
This method unacknowledges the specified events.
EventIDList eventList—List of the events to unacknowledge.
String userid—User ID who cleared the events.
String note—Note explaining the reason for unacknowledging the events.
This method deletes the specified events.
This method changes severity of specified events.
EventIDList eventList—List of the events to change severity
String severity—The target severity to change. Valid severities can be customized in the Prime Performance Manager Event Editor.
String userid—User ID who changed the event severity.
String note—Note explaining the reason for changing the severity for the events.
This method gets an attached note for an event.
This method sets an attached note for an event.
long eventID—Event ID to set the note.
String userid—User ID who sets the note.
This method appends a note to an event.
long eventID—Event ID to append the note to.
String userid—User ID who appends the text to the event note.
The following topics provide the Prime Performance Manager Event API WSDL and XSD definitions.
Detailed error information is defined as APIStatus in WSDL (for Event API WSDL definitions, see Appendix 5, “Event API WSDL and XSD Definitions” ):
APIStatus contains a status code and a message. Table 5-1 lists the possible Event API status codes.
|
|
|
---|---|---|
An unexpected error occurred that stops the requested operation. |
||
The requestor provided one or more invalid parameters in the requested operation. |
To cross launch into Prime Performance Manager, generate URLs in the following format:
– lastHour—valid for hourly reports only
– last24Hours—valid for hourly or daily reports
– last7Days—valid for all reports
– last30Days—valid for daily reports only
– last90Days—valid for daily reports only