DX NetOps

  • 1.  Clear Alarm Event configuration

    Posted Feb 26, 2017 08:25 PM

    when i create an alarm status on a device i get the following trap which also sends another event like so  

     

    TrapAlarmStart > creates sensStateChange with a sensState attribute value of alarm (3)

    I can generate an alarm in spectrum with:

    if ({v sensState} == {I 3}) evaluates to TRUE, then generate 0x...

     

    When i then clear that alarm state the device sends:

    TrapAlarmEnd > which creates senStateChange with a sensState attribute value of normal (1)

     

    I cannot see how to clear the alarm - when the TrapAlarmEnd is sent using the event configuration GUI

     

    gratzi



  • 2.  Re: Clear Alarm Event configuration
    Best Answer

    Broadcom Employee
    Posted Feb 27, 2017 01:41 AM

    To generate alarm you can generate event that raises alarm. To clear event you can generate event that clears the alarm. For example:

    1. Generate alarm

    if ({v sensState} == {I 3}) evaluates to TRUE, then generate 0xfff00000 event
    0xfff00000 event raises 0xfff00000 alarm

    2. Clear alarm

    if ({v sensState} == {I 1}) evaluates to TRUE, then generate 0xfff00001 event
    0xfff00001 event clears 0xfff00000 alarm

     

    Please notice that I have red-colored the alarm Cause Code. Alarm Cause Code is different from Event Type (Code).

     

    In Event Configuration tool you should be able to set the event to clear the alarm by assigning the alarm cause code, in this case 0xfff00000, in the "Clearead Alarms" section.

    Cleared Alarm(s) section in Event Configuration tool