Hi Michuki

For now the major thing for now is neighbor states.
Got two scripts one in perl the other basic shell, from command line the perl script has correct output but when I set it on Nagios the response isnt showing as for the shell script is just not working at all.

./TheMburu

On Tue, Feb 21, 2012 at 10:39 AM, Michuki Mwangi <michuki@swiftkenya.com> wrote:
Hi Mburu,




On 2/21/12 9:16 AM, TheMburu George wrote:
> Hey Skunks
>
> Has anyone implemented successful BGP sessions monitoring with Nagios?
> Which plugin did you use and what were the configs?
>

What do you want to monitor specifically about the BGP sessions. There
are a number of bgp neighbor states that can be monitored. The reason
being one particular state is likely to give an unlikely picture of what
the problem is.

Each state is linked to a specific MIB and OIDs (specific to the
equipment vendor). Therefore, the best way to go about this is to set
snmp traps and use nagios to monitor the traps (snmp trap handlers).

I don't have any configs to share however most of the plugin's that come
with Nagios have the configuration settings.

There are two types of plug-ins for BGP checking those that use the CLI
to check the status and those that use the OID's. I would go with the
OID's as they are very specific. For the Router settings here you need
either to provide a username/password for CLI based plugins and an SNMP
community/password for the SNMP OID based plugins.

Look at the scripts to see what they are doing. If you are not on Vendor
C. you will have to modify the scripts with the right OID's for them to
work for you.

HTH,

Michuki.



--
Conservatism is the adherence to the old tried against the new untried.