<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI Semilight";
        panose-1:2 11 4 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Most monitoring products allow you to monitor custom SNMP OIDs, and your entire BGP RIB is � usually � exposed via SNMP.<o:p></o:p></p>
<p class="MsoNormal">Most monitoring products also treat �missing� OIDs specially, and can alert on that fact.<o:p></o:p></p>
<p class="MsoNormal">At least, that�s how I would start doing it.<o:p></o:p></p>
<p class="MsoNormal">We use Observium here, and it can do what you want, albeit with a little bit of futzing around in the Custom OID and Alerts sections.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cisco does weird things with getting SNMP data from VRFs, though, so� YMMV.  I know there used to be a Cisco-proprietary way to select which VRF you were polling common OIDs from, but don�t remember the details.<o:p></o:p></p>
<p class="MsoNormal">-Adam<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#44546A;background:white;mso-fareast-language:EN-CA">Adam Thompson</span></b><span style="font-size:9.0pt;color:#44546A;background:white;mso-fareast-language:EN-CA"><br>
Consultant, Infrastructure Services<br>
<img width="128" height="39" style="width:1.3333in;height:.4083in" id="Picture_x0020_1" src="cid:image001.png@01D802FA.4700E470" alt="MERLIN"><br>
100 - 135 Innovation Drive<br>
Winnipeg, MB, R3T 6A8<br>
(204) 977-6824 or 1-800-430-6404 (MB only)<br>
<a href="mailto:athompson@merlin.mb.ca" target="_blank"><span style="color:blue">athompson@merlin.mb.ca</span></a><br>
<a href="http://www.merlin.mb.ca/" target="_blank"><span style="color:blue">www.merlin.mb.ca</span></a></span><span style="font-size:12.0pt;color:black;mso-fareast-language:EN-CA"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-CA">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-CA"> NANOG <nanog-bounces+athompson=merlin.mb.ca@nanog.org>
<b>On Behalf Of </b>Sandoiu Mihai<br>
<b>Sent:</b> Thursday, January 6, 2022 4:35 AM<br>
<b>To:</b> nanog@nanog.org<br>
<b>Subject:</b> BGP Route Monitoring<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Hi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">I
</span><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">am looking for a route monitoring product that does the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">-checks if a specific bgp route from a specific neighbor is present the BGP table (in some vrf, not necessarily internet routed vrf) of
 an ASR9K running IOS XR <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">-sends a syslog message or an alarm if the route goes missing<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">The use case is the following: we are receiving same routes over 2 or more bgp peerings, due to best route we cannot really see at the moment
 if one of the routes ceased to be received over a certain peering.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Alternative approach: a product that measures the number of bgp received prefixes from a certain peer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Do you know of such product that is readily available and does not require ssh sessions to the routers and parsing the outputs?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">I am trying to find a solution that does not require much scripting or customization.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Many thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Segoe UI Semilight",sans-serif;color:black">Mihai<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>