Event Condition - cbgpFsmStateChange Event - bgpPeerState Variable Change Alarm/Clear
search cancel

Event Condition - cbgpFsmStateChange Event - bgpPeerState Variable Change Alarm/Clear

book

Article ID: 434482

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

Current OOB Event cbgpFsmStateChange (0x00210d53) is not set to alarm

Checking MIB, would like to alarm when value of cbgpPeerState is not equal to established (6) and clear when equal to established (6)

IE, This applies to Varbind 3 (cbgpPeerState) for both down and up status.

cbgpFsmStateChange NOTIFICATION-TYPE
VARIABLES {
   bgpPeerLastError               1.3.6.1.2.1.15.3.1.14          OCTET STRING                   
   bgpPeerState                   1.3.6.1.2.1.15.3.1.2           INTEGER                        
{
   idle(1)
   connect(2)
   active(3)
   opensent(4)
   openconfirm(5)
   established(6)
}
   cbgpPeerLastErrorTxt           1.3.6.1.4.1.9.9.187.1.2.1.1.7  SnmpAdminString                
   cbgpPeerPrevState              1.3.6.1.4.1.9.9.187.1.2.1.1.8  INTEGER                        
{
   none(0)
   idle(1)
   connect(2)
   active(3)
   opensent(4)
   openconfirm(5)
   established(6)
}
}
DESCRIPTION
"The BGP cbgpFsmStateChange notification is generated
        for every BGP FSM state change. The bgpPeerRemoteAddr
        value is attached to the notification object ID."
-- 1.3.6.1.4.1.9.9.187.0.1

Resolution

1. Create an "Alarm" Event and a "Clear" Event

Alarm Event (0fff04018): The "BGP Down" event (generates the alarm):


Clear Event (0fff04019):
The "BGP Up" event (clears the alarm). with the below event rule Varbind 3 (cbgpPeerState) is equal 6 (established) and Cleared Alarm(s) event set to 0fff04018


**Note** Make sure to Store Event in historicial Database or it may not be visable when triggered:



2. Create Event Rules on OOB Event cbgpFsmStateChange (0x00210d53)


Alarm Event rule: Varbind 3 (cbgpPeerState) does not equal 6 (established) to trigger Alarm Event 0xfff04018:



Clear Event rule: Varbind 3 (cbgpPeerState) does equal 6 (established) to trigger Alarm Event 0xfff04019: 



3. Verify Event Condition Created under OOB Event cbgpFsmStateChange (0x00210d53)

Additional Information

Broadcom Community Thread:
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?GroupId=1675&MessageKey=f680cf26-3ada-4e59-90bd-019cda4e652e