Idea Details

Fix Alarm filtering using REST API

Last activity 09-11-2018 12:30 PM
Frank Tonjes's profile image
03-01-2016 04:59 PM

Currently there is a bug/defect that you can't filter out Spectrum alarms using REST which are not dynamic alarm titles.


e.g.: We have some traps coming from Cisco Prime/Zabbix (using SBGW) which when I do something like:


<?xml version="1.0" encoding="UTF-8"?>   <rs:alarm-request throttlesize="1000"   xmlns:rs=""   xmlns:xsi=""   xsi:schemaLocation=" ../../../xsd/Request.xsd">     <rs:attribute-filter>     <search-criteria       xmlns="">         <filtered-models>           <has-substring>             <attribute id="0x12b4c">               <value>L2TP</value>             </attribute>           </has-substring>         </filtered-models>     </search-criteria>   </rs:attribute-filter>     <rs:requested-attribute id="0x11f9c"/>   <rs:requested-attribute id="0x12b4c"/>   <rs:requested-attribute id="0x11fc5"/>   </rs:alarm-request>


This works and displays the alarms fine if the text is from Cisco Prime/Zabbix alarms. If we change the 'L2TP' to some alarm that is built-into spectrum e.g.: 'MANAGEMENT AGENT LOST' then it doesn't work. So it filters dynamic alarms from other NMS's but not it's own!


I see this as a defect and would like this to be fixed. We would like to use this to create different views based on user filters but can't because the root cause of problem is due to the design of Spectrum in that it don't populate static alarm titles to an attribute on the SS so they are not available to be filtered on. Only dynamic alarms are populated to an attribute so static titles are not available on the SS when queried from rest.


You can run a query to get ALL alarms from every landscape in a domain and filter it - but this chews up resources and takes away the power of the API of being able to query it for only information and attributes you want.


I have raised a ticket and have been advised to raise an enhancement (even though I see this more as a bug or defect) - Ticket Ref is: 00262158: REST QUERY HELP


09-11-2018 12:30 PM

Is there any update on this point?

03-14-2016 07:44 AM

Thanks for the update JK, much appreciated!

03-14-2016 07:38 AM

Hi ,

An internal defect is created to investigate on this issue , will update this thread about the findings .