DX NetOps

Expand all | Collapse all

Clear an Alarm in Spectrum using the REST-API ??

Jump to Best Answer
  • 1.  Clear an Alarm in Spectrum using the REST-API ??

    Posted 07-18-2017 04:01 PM

    Hi all,

    I would like to clear an Alarm in Spectrum using the REST-API.

    I have a couple of Alarms which I would like to clear after an hour and I will try to use the REST-API for that job.

     

    Do I have to set an attribute of an alarm or do I have to call a procedure or action for that alarm?

     

    Any hint?

     

    Best Regards

    Erich



  • 2.  Re: Clear an Alarm in Spectrum using the REST-API ??
    Best Answer

    Broadcom Employee
    Posted 07-18-2017 04:14 PM

    You can use the following URL to clear an alarm in SPECTRUM with the REST API:

     

    http://<hostname><:portnumber>/spectrum/restful/alarms/<alarm_id>

    • HTTP Method
      DELETE
    • Body
      None
    • Body Content
      Not Used
    • Header
      application/xml, application/json
    • Output
      XML or JSON listing indicating success or failure

    URL Parameters

    • alarm_ID
      Specifies the alarm to delete.


  • 3.  Re: Clear an Alarm in Spectrum using the REST-API ??

    Broadcom Employee
    Posted 07-19-2017 02:44 PM

    Erich, Has Chris answered your question?