beautypg.com

Events summary, Get uris path parameters example – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 100

background image

86

Brocade Network Advisor REST API Guide

53-1003160-01

Summary data

5

Events summary

Specifies the count of events of a particular type for a particular severity. The returned summary is
EventsSummary.

GET URIs

Path parameters

Example

The following is an example of returned summary data in the JSON format:

{"summary":

"eventsSeverityCounter":

{"emergencyCount":{"trapCount":0,"inmEventCount":0,"securityCount":0,"syslogCount":0},

"alertCount":{"trapCount":0,"inmEventCount":0,"securityCount":0,"syslogCount":0},

"criticalCount":{"trapCount":0,"inmEventCount":0,"securityCount":0,"syslogCount":0},

"errorCount":{"trapCount":0,"inmEventCount":96,"securityCount":0,"syslogCount":0},

"warningCount":{"trapCount":0,"inmEventCount":1,"securityCount":0,"syslogCount":0},

"noticeCount":{"trapCount":0,"inmEventCount":0,"securityCount":0,"syslogCount":0},

"infoCount":{"trapCount":0,"inmEventCount":4,"securityCount":0,"syslogCount":16},

"debugCount":{"trapCount":0,"inmEventCount":0,"securityCount":0,"syslogCount":0}}},

"summaryName":"EventsSummary",

"timeLine":null,

"timeScope":"ThirtyMinutes",

"limit":null,

"portScope":null,

"descending":null}

This example indicates that there is one INM event at the WARNING level and 16 syslog events at
the INFO level.

URI

Description

/resourcegroups/rgkey/eventssummary?tim
escope=

Retrieves event count summary data for the specified
resource group.

/resourcegroups/rgkey/fcfabrics/fcfkey/eve
ntssummary?timescope=

Retrieves event count summary data for the specified
FC fabric.

/resourcegroups/rgkey/fcswitches/fcskey/e
ventssummary?timescope=

Retrieves event count summary data for the specified
FC switch.

/resourcegroups/rgkey/fcfabrics/fcfkey/fcs
witches/fcskey/eventssummary?timescope=

Retrieves event count summary data for the specified
FC switch of the specified FC fabric.

Name

Description

rgkey

Resource group identifier.

fcfkey

FC fabric identifier.

fcskey

FC switch identifier.