DX NetOps

  • 1.  Can alarms be generated via Restful API?

    Posted Aug 27, 2013 10:33 AM
    Can we generate alarms via the restful API from a third party system? Or is the Southbound Gateway still the best means to accomplish this?
    Thanx
    Tim


  • 2.  RE: Can alarms be generated via Restful API?
    Best Answer

    Posted Aug 27, 2013 11:54 AM
    Hello Tim,

    I recommend using south bound gateway for your requirement. Also for rest API , use the Alarms resource to read, modify, and delete CA Spectrum alarms.

    Important! This POST is a form of GET Tunneling. You cannot create an alarm with POST alarms. CA Spectrum alarms are created in response to events, as defined by the Event Disposition files.

    HTH

    kalyan


  • 3.  RE: Can alarms be generated via Restful API?

    Posted Nov 20, 2013 07:42 AM

    Hi Kalyan

    I would have thought it possible to create Alarms using Rest by creating an event using Rest. Can you confirm that is the case please?

    If it's not the case what are the examples in RestfulExamples/xml/Events for?

    If it is the case can you look at my recent post and advise how to do this please?

    Thanks, John



  • 4.  Re: Can alarms be generated via Restful API?

    Broadcom Employee
    Posted Oct 08, 2018 12:10 PM

    Yes, you can create events via REST and those events can subsequently create alarms.  Once it's in event in Spectrum, it doesn't make any difference if it came in via trap or API.



  • 5.  Re: Can alarms be generated via Restful API?

    Posted Oct 08, 2018 11:58 AM

    Hi Kalyan, 

                      We have from some devices which can only send alarm data through API calls, can Spectrum pull the data using South Bound Gateway and convert them into alerts?

     

    Thanks in advance



  • 6.  Re: Can alarms be generated via Restful API?

    Broadcom Employee
    Posted Oct 08, 2018 12:11 PM

    Spectrum won't pull the data but you can have a script or some other method to take the data from those device API calls and then make the appropriate REST API calls into Spectrum to create events which can result in alarms.



  • 7.  RE: Can alarms be generated via Restful API?

    Posted Dec 02, 2013 06:53 AM

    Hi Tim

    The answer to your question is that you can create alarms using REST. You do this by creating the event that generates the alarm. There are some examples in the RestfulExamples/xml/Events directory.

    Regards, John