Does anyone know if it is possible to add some custom attributes to alarms which can be populated during alarm creation time (Event config)?
I noticed there are 4 new alarm attributes since 10.1.1 (UIM alarm ID, source, etc) and was wondering how easy it is to add custom ones.
What I'm hoping to do is add specifically an NMS attribute which tells me which NMS the trap came from. This way I can run queries through the rest API and see only specific alarm from one or multiple NMS's we have sending traps.
The idea is to populate this field potentially with event config.
Is this possible? If not - I'll add an idea but hoping it's already possible.
Yes - it is possible to do this using the an AutoOperator and a LUA script.
Here's an article that discusses the process - http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec000003845.aspx
Links in the docs:
NAS script editor - The nas Script Editor - CA Unified Infrastructure Management Probes - CA Technologies Documentation
NAS LUA extensions - The nas Extentions to Lua (All Versions) - CA Unified Infrastructure Management Probes - CA Technologies Documentation
Hope that helps!
Hope the query is for Spectrum , could you please try the below steps :
1) Create the custom alarm attributes by adding them to the GlobalAlarm model type using the
Model Type Editor. The attribute group ID value must be set to equal 11f4c.
2)For this example modifying existing trap present in <Specroot>\SS\CsVendor\Cisco_Router\AlertMap file , added decimal equivalent of hex custom attribute in one of the varbind
#ciscoEnvMonTempStatusChangeNotif trap #ciscoEnvMonTemperatureStatusDescr
188.8.131.52.184.108.40.206.220.127.116.11 0x00210c10 18.104.22.168.22.214.171.124.126.96.36.199.2(1,0) \
3)For testing added the attribute in < Specroot >\custom\alarm\config\alarm-table-config.xml
4)Send a trap , the value present in the varbind is shown
Thanks both for the information. Going to give this a try!
Is that the only way to use a custom attribute for an alarm? Is there any way to update the value of the custom attribute? Other than having the SpectroSERVER modify when receiving it as a varbind in a trap?
You can manipulate alarm info using REST 'PUT' call:
I imagine if you have the custom attribute id, you could just use it instead of the one I used above (Trouble Ticket) to modify it's value.
Do you know if it's possible to use those custom attributes in Report Manager?