DX NetOps

  • 1.  how we can display these varbind values or sample text in alarms tab in one click console

    Posted Feb 07, 2018 03:38 AM

    Hi,

     

    I have send the below trap with sample text as varbind based on the varbind values in AlertMap file I got these varbind text in the Oneclick console Events Tab but these varbind values or text is not displayed in the Alarms tab.I am working on it where these varbind values are attaching.Can you please provide the detailed procedure or screen shots how we can display these varbind values or sample text in alarms tab in one click console where these varbind values or text is stored in spectrum

     

    snmptrap -v 2c -c public 172.19.251.116 '' .1.3.6.1.4.1.7393.3.2.3.0.1 1.3.6.1.4.1.7393.3.2.2.3.2.3.1.5 s 'SPECTRUM'

     

    Please find the below screen shot of trap with varbind values for your reference

     



  • 2.  Re: how we can display these varbind values or sample text in alarms tab in one click console

    Posted Feb 07, 2018 04:23 AM

    Hi,

    you have to map the TrapOid in an AlertMap file to an EventCode, to map the trap varbinds to Spectrum Event varbinds, to map the EventCode in an EventDisp file to an alarm and to use the Spectrum varbinds.

    Details you will find here:

    AlertMap Files - CA Spectrum - 10.1 to 10.1.2 - CA Technologies Documentation 

    In addition you may have to enable "trap processing" for your model of type "Pingable".

     

    Regards,

    Olaf



  • 3.  Re: how we can display these varbind values or sample text in alarms tab in one click console

    Posted Feb 07, 2018 04:54 AM

    Hi,

    Thanks for the update,mapping of  TrapOid in an AlertMap file to an EventCode and trap varbinds is already done and also mapping of EventCode in an EventDisp file to an alarm is also done but these varbind values or sample text with the snmp trap is displaying only in one click events tab not displaying in alarms tab.Please provide the detailed procedure or screen shots how we can display these varbind values or sample text in alarms tab in one click console where these varbind values or text is stored in spectrum.



  • 4.  Re: how we can display these varbind values or sample text in alarms tab in one click console

    Posted Feb 07, 2018 06:03 AM

    The Event states "Unknown alert received".

    If your AlertMap configuration is proper, you may have missed to load the configuration in the SpectroServer and OneClick.

    Jump to the VNM model Information Tab -> SpectroServer Control and push  the "Update Event Configuration".

    After that you have to re-read the information for the OC Server via the admin page.



  • 5.  Re: how we can display these varbind values or sample text in alarms tab in one click console

    Broadcom Employee
    Posted Feb 07, 2018 06:16 AM

    Basically you will need to pass the varbind into the dynamic alarm variable to be displayed as alarm title.

     

     

    Please take a look at CA Spectrum guide:

    Working with Events and Alarms - CA Spectrum - 10.2 to 10.2.2 - CA Technologies Documentation 

     

    Creating Dynamic Alarm Title

    The alarm title is taken from the PCause files ($SPECROOT/SG-Support/CsPCause).

    In OneClick, whenever the dynamic alarm title attribute has any value, the dynamic string is displayed instead of the static alarm title from the probable cause file. If there is no value in the dynamic alarm title attribute, the static alarm title is displayed by default, .

    You can use the dynamic alarm title variable to create a dynamic alarm title. The dynamic varbind id is 76620 (or 0x12b4c). Once you set the dynamic alarm title variable, you see more information about the alarm in the title. To use the functionality, you can create an event which has that varbind set to any value for e.g. by mapping a trap variable to that ID in an alert map file. You can also copy some other event variable through an event rule, and then map the event to an alarm using that ID as a discriminator.

    Example: Create a Dynamic Alarm Title

    You can either create 0x050e1106 through an alert map or through the condition rule. This example maps an alert to an event, copying over one alert variable (1.3.6.1.10.1.2) as a dynamic alarm title. The dynamic varbind id is 76620 (or 0x12b4c).

    1.3.6.1.4.4.1.6.3 0x050e1106 1.3.6.1.4.1.10.1.1(1,0)\ 1.3.6.1.4.1.10.1.2(76620,0)

    You can also use an event rule to copy over a varbind (here ID 7 from event 0xffff0000) to be used as dynamic title id in the new event (0x050e1106).

    0xffff0000 E 50 R CA.EventCondition, “default”, “0x050e1106 7:76620”

    For both cases, you can create a minor alarm which shows the dynamic title, discriminating on the dynamic value ID. This condition shows an individual alarm for each value.

    0x050e1106 E 50 A 1,0x 050e1106, 76620

    Example: Clear a Dynamic Alarm Title

    This example shows how to clear a dynamic alarm title using the Dynamic ID value.

    0x050e1107 E 50 C 0x050e1106, 76620

    Note: You do not have to use the dynamic alarm title attribute as discriminator. In this case, there is only one alarm, with one title, with the value from the first event which created the alarm. All subsequent events are attached to that alarm, even when you have different dynamic title values. If they use the discriminator, then they get one alarm per title value. This variable uses the regular discriminator feature.

     

    Also take a look at the following KB documents and CA Community posts for some examples:

    Dynamic Alarm Title Configuration for Border Gateway Protocol (BGP) Alarms 

    How to pass CPU Utilization and Threshold values to Alarm title for a CPU alarm 

    Hi, really need some help with Dynamic Alarm Title 

    Event Procedure for dynamic alarm title 

     

    Thanks,

    Silvio