[afnog] MONITORING ROUTING PROTOCOLS WITH NAGIOS
Daniel Shaw
daniel at afrinic.net
Mon Sep 5 12:17:13 UTC 2016
> On 5 Sep 2016, at 3:38 PM, Daniel Shaw <daniel at afrinic.net> wrote:
>
>
>> On 5 Sep 2016, at 3:35 PM, Isaya Ntilema <isayantilema at ymail.com> wrote:
>>
>> Hello Daniel..,
>>
>> I want to monitor, all BGP sessions in my router and ospf and is-is neighbor relations.
>>
>
A little more on what we got working:
While I didn’t do this myself, I’ve asked the colleague who did to write up a detailed blog post at some time in the future.
In the mean time, I took a look at what was deployed on our monitoring system and the configs in Git.
The check_bgp Nagios plugin script has the following header:
#!/usr/bin/perl -w
# nagios: +epn
#
# check_bgp - nagios plugin
#
# Copyright (C) 2006 Larry Low
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
<snip>
# Report bugs to: llow0 at yahoo.com
It was found here I believe: https://exchange.nagios.org/directory/Plugins/Network-Protocols/BGP-2D4/check_bgp/details
As I mentioned it uses SNMP (as opposed to other ways of getting data off routers). As we already had SNMP set up for other things and an existing Nagios alerting systems, this made it easy to use that.
The exchange.nagios.org site is a decent resource for various Nagios related stuff.
- Daniel
More information about the afnog
mailing list