What is the logic to determine a BGP session down and disconnect event?
SMARTS-10.1.x
computed attribute boolean IsIBGPPeerMissing
"True if peer system is missing."
= (IsSessionDisconnected &&
!IsBGPPeerAdminDown &&
!IsEBGP &&
(|PeerSystem| == 0));
event Disconnected
"One or more endpoints of this link do not have ESTABLISHED connections."
loss(0.0001)
= !IsFlapping && SessionDisconnectedAttribute;
export Disconnected;
refine symptom LocalSymptoms
= Disconnected,
PrefixThresholdCrossed 0.1,
Disconnected explains,
PrefixThresholdCrossed explains,
SessionGroupImpactedSymptom explains;
problem Down
"This BGP link between neighboring endpoints is down."
=> LocalSymptoms if !IsIBGPPeerMissing,
LocalSymptoms explains if !IsIBGPPeerMissing;
export Down;