beautypg.com

Event retrieval, Get uris example, Response parameters – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 129

background image

Brocade Network Advisor REST API Guide

115

53-1003160-01

Events

5

Event retrieval

Returns events.

You can filter the events based on the properties stated in the URI.

GET URIs

Example

Multiple filters are supported. For example, to retrieve the first 100 special trap events, use the
following URI:

http://10.24.48.103/rest/resourcegroups/All/events?startindex=0&count=100&specialEvent=true&origin=trap

Response parameters

URI

Description

/resourcegroups/All/events?startindex=valu
e
&count=value&sourceaddr=value&origin=value&severit
y=value&module=value&specialevent=value

Returns events.

Property

Description

key

The unique identifier.

severity

The severity of the event.

acknowledged

Indicates if the event is acknowledged.

sourceName

The name of the source that triggered the event. This could be the name of the
switch or name of Network Advisor server in the case of application events.

sourceAddr

The IP address of the source that triggered the event. This could be the IP
address of the source switch or IP address of Network Advisor server in the case
of application events.

lastOccurrenceHostTime

The Network Advisor server timestamp when this event occurred last.

firstOccurrenceHostTime

The Network Advisor server timestamp when this event occurred first.

eventCount

The number of occurrences of the event. Count indicates the number of times
the same event occurred in a given ten minute window.

specialEvent

Indicates whether the event is marked as a special event.

origin

The event origin such as Trap, Syslog, and so on.

eventCategory

The event category.

description

The event description.

module

The event module.

productAddress

The IP address of the product from which the event has originated.

contributors

The contributing factors for the event resulted due to a status change of the
switch.

nodeWwn

The WWN of the product for which the event was generated.

portWwn

The WWN of the port for which the event was generated.