Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more information about DSC alarms, refer to the

Link_in_new_tab
TextDSC Alarms guide
URLhttps://support.sonus.net/display/DSCDOC161/Alarms+Guide
. The Alarms guide describes all events including alarms, warnings, notifications, clearing events, and Intelligent Platform Management Interface (IPMI) hardware sensor alarms recorded by the DSC Platform as well as possible troubleshooting actions. 

Pagebreak

Alarm State Synchronization

...

The following table lists the REST API commands:

div
classpdf8pttext

Caption
0Table
1REST API Commands
HTTP CommandResource URL CategoryComment
GET/mgmt/rest/trap/getAlarmListTrap ResyncReturns the list of all the traps available in the DSC.
GET/mgmt/rest/trap/getAlarmList/{SequenceId}Trap Resync

Returns the list of the traps available in the DSC using parameter SequenceId, which represents the starting trap of the list.

GET/mgmt/rest/trap/getAlarmList/{SequenceId}/{count}Trap Resync

Returns the list of the traps whose size is specified by the count

parameter and the starting sequence id specified by the SequenceId parameter.
GET/mgmt/rest/trap/getCount

Trap Resync

Returns the sum of CRITICAL, MAJOR, MINOR, and WARNING alarms
GET/mgmt/rest/trap/getLastSequenceIdTrap ResyncReturns the last sequence id of trap sent out.
GET/mgmt/rest/trap/getTrapDetails/{SequenceId}Trap ResyncReturns the details of the specified alarm SequenceId.
POST /api/config/alarms/current/_operations/state/alarmList

Alarm Acknowledge

Alarm Unacknowledge

Sets the current acknowledge state and returns a list of successful, failed and not found alarm ids.
POST /api/config/alarms/current/_operations/comment/alarmListAlarm CommentSets the current comment field and returns a list of successful, failed and not found alarm ids.
POST /api/config/alarms/clear/_operations/alarmListAlarm ClearRemoves outstanding alarms and returns a list of successful, failed and not found alarm ids.
GET/mgmt/rest/trap/getRollOverNumberMax Sequence ID

DSC sequence number starts at 1. The max sequence number is 2^31 -1.

For example

<?xml version="1.0" ?>

<currentStatus>

        <rollOverNumber>2147483647</rollOverNumber>

</currentStatus>

GET/mgmt/rest/trap/getTrapEngineStatus

Trap Resync

Trap engine status for EMS to ping.

The Timestamp of the trap engine activation has to be monitored for change. For example

<?xml version="1.0" ?>

<currentStatus>

<trapEngineBoot>1496709954</trapEngineBoot>

</currentStatus>

 

 


Pagebreak