Page 1 of 1

How to Monitor bgp graph

Posted: Mon Sep 30, 2019 10:56 pm
by kimseng
Hi NagiosXI team,

i have bgp snmp command " $USER1$/check_snmp_cisco_bgp.pl -H $HOSTADDRESS$ -C $ARG1$ -P $ARG2$ " this how to monitor bgp session peering with my upstream provider one i need your support is how to monitor graph bandwidth like interface?

Best Regards,
Kimseng

Re: How to Monitor bgp graph

Posted: Tue Oct 01, 2019 4:44 pm
by mbellerue
If you want to monitor the interface traffic for your Cisco router using SNMP, you may be able to use the Network Switch / Router wizard.

Re: How to Monitor bgp graph

Posted: Wed Oct 02, 2019 2:46 am
by kimseng
Yes i know to monitor my interface cisco device by add Network Switch / Router wizard but my question i already have Cisco device added and i just add service check_cisco_snmp_bgp

$USER1$/check_snmp_cisco_bgp.pl -H $HOSTADDRESS$ -C $ARG1$ -P $ARG2$

The service check_snmp_cisco_bgp is working fine but it's doesn't have graph monitor bandwidth LINK Interface ROUTER that have two one is Bandwidth and other one is Status

Re: How to Monitor bgp graph

Posted: Wed Oct 02, 2019 4:47 pm
by cdienger
check_cisco_snmp_bgp doesn't appear to return performance data and without performance data there is nothing for Nagios to graph. You can run the wizard on the same cisco device to setup bandwidth monitoring for it's interfaces.

Re: How to Monitor bgp graph

Posted: Wed Oct 09, 2019 2:30 am
by kimseng
I send you the attachment file

The interface have bandwidth and status that we can see the graph but for the bgp peering session it doesn't have any graph so what i need you help is i want to have graph with bgp peering session. Any way to do it?

Re: How to Monitor bgp graph

Posted: Wed Oct 09, 2019 10:44 am
by scottwilkerson
Does that plugin return performance data? Not all do, and some you have to add an argument to enable it.

I looked at the plugin here which I think is the one you are using and it DOES NOT return performance data
https://exchange.nagios.org/directory/P ... er/details

Re: How to Monitor bgp graph

Posted: Thu Oct 10, 2019 4:09 am
by kimseng
Yes i already using this plugin and this plugin is Check BGP peer status, established time, prefixes but want i need i can know bgp peering graph bandwidth download and upload or i think graph BGP peering with AS number.

Re: How to Monitor bgp graph

Posted: Fri Oct 11, 2019 6:27 am
by scottwilkerson
kimseng wrote:Yes i already using this plugin and this plugin is Check BGP peer status, established time, prefixes but want i need i can know bgp peering graph bandwidth download and upload or i think graph BGP peering with AS number.
Being this plugin doesn't return performance data you would either need to modify the plugin or create a new one that does.

Here are the Nagios Plugin Development Guidelines if you want to know the format for performance data
https://nagios-plugins.org/doc/guidelines.html#AEN200