|
|
| Author |
Message |
lion_han
Joined: 04 Oct 2006 Posts: 19
|
Posted: Tue Jan 16, 2007 1:16 am Post subject: Monitoring BGP sessions status |
|
|
Hello guys!
I need your help...! Is there any opportunity to monitor the status of BGP sessions (up or down), i mean if my BGP peer is down how can I know or monitor it? Also, is it possible to figure out it using graphics?
Thanks in advance!
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12148 Location: Muenster, Germany
|
Posted: Sat Jan 27, 2007 4:03 pm Post subject: |
|
|
Up/Down would be a binary status. Cacti as an rrdtool frontend will only be able to graph numbers. So if you write a wrapper script that converts up to 1 and down to 0, cacti will graph it. See first link of my signature for walkthroughs
Reinhard
|
|
| Back to top |
|
 |
lion_han
Joined: 04 Oct 2006 Posts: 19
|
Posted: Thu Feb 08, 2007 6:12 am Post subject: |
|
|
I found another method monitoring BGP peer
i have oid for BGP peer state: 1.3.6.1.2.1.15.3.1.2
this oid have 6 Values
1 : idle
2 : connect
3 : active
4 : opensent
5 : openconfirm
6 : established
so how to create graph for this 6 values that in they will be different color.
(1-red, 2-blue ......)
|
|
| Back to top |
|
 |
khooker
Joined: 22 Mar 2007 Posts: 8 Location: Paris
|
Posted: Thu Mar 22, 2007 5:38 pm Post subject: |
|
|
Hi, here are some templates you can use (0.86j) to graph the BGP peering status on your router.
Please give me your feedback on this one so I can improve it if needed!!
| Description: |
|
| Filesize: |
18.52 KB |
| Viewed: |
7250 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_cisco_bgp_peer_status.xml |
| Filesize: |
13.34 KB |
| Downloaded: |
588 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_cisco_router_bgp_peer_status.xml |
| Filesize: |
7 KB |
| Downloaded: |
427 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_query_cisco_bgp_peer_status.xml |
| Filesize: |
15.38 KB |
| Downloaded: |
434 Time(s) |
| Description: |
| Put this one in your <cacti>/resource/snmp_queries/ folder. |
|
 Download |
| Filename: |
cisco_bgp.xml |
| Filesize: |
1.12 KB |
| Downloaded: |
479 Time(s) |
|
|
| Back to top |
|
 |
gg234 Cacti User
Joined: 07 Oct 2005 Posts: 62
|
Posted: Tue Apr 17, 2007 3:31 am Post subject: |
|
|
| Thanks for your templates can you provide some procedure how to use this scripts
|
|
| Back to top |
|
 |
redrobish
Joined: 29 May 2007 Posts: 23
|
Posted: Wed Jun 20, 2007 1:32 am Post subject: |
|
|
Hi khooker,
I'm receiving this "Error: XML: Hash version does not exist" when importing the template. Can you help me out?
thanks
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 969
|
Posted: Wed Jun 20, 2007 1:37 am Post subject: |
|
|
| redrobish wrote: | Hi khooker,
I'm receiving this "Error: XML: Hash version does not exist" when importing the template. Can you help me out?
thanks |
What version of Cacti are you running ? These templates were exported using Cacti 0.8.6j.
|
|
| Back to top |
|
 |
redrobish
Joined: 29 May 2007 Posts: 23
|
Posted: Wed Jun 20, 2007 6:35 pm Post subject: |
|
|
its Cacti Version - 0.8.6j.
tnx
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Tue Apr 22, 2008 1:36 am Post subject: |
|
|
Here is a slightly modified version that adds Peer Uptime and Peer Flaps (transitions to established state since reboot). Includes a CDEF for converting seconds to hours
cheers,
N
| Description: |
|
| Filesize: |
28.49 KB |
| Viewed: |
4955 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cisco_bgp.xml |
| Filesize: |
3 KB |
| Downloaded: |
267 Time(s) |
| Description: |
| BGP Peer Statistics Templates |
|
 Download |
| Filename: |
cacti_data_query_cisco_-_bgp_peer_statistics.xml |
| Filesize: |
20.46 KB |
| Downloaded: |
230 Time(s) |
|
|
| Back to top |
|
 |
kanada Cacti User
Joined: 28 Aug 2005 Posts: 125
|
Posted: Tue May 13, 2008 6:54 am Post subject: |
|
|
Hi,
someone can upload these templates under 0.8.6h of cacti version?
Alex.
|
|
| Back to top |
|
 |
eternal Cacti User
Joined: 14 Dec 2006 Posts: 57 Location: Kingsport TN
|
Posted: Tue May 13, 2008 8:32 am Post subject: |
|
|
This works cross platform. Could take the Cisco off
To add Go to device > THen your device > Associated Data Queries > Add Data Query: add
Then add graphs you should see it there
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Tue May 13, 2008 6:37 pm Post subject: |
|
|
[quote="eternal"]This works cross platform. Could take the Cisco off
True, it's a standard MIB not Cisco specific.
|
|
| Back to top |
|
 |
kanada Cacti User
Joined: 28 Aug 2005 Posts: 125
|
Posted: Thu May 15, 2008 5:35 am Post subject: |
|
|
Guys, i know how to add this template to my Cisco device, but i can't import it due to my old 0.8.6h cacti version on one machine.
I'm getting back Error: XML: Hash version does not exist when importing the template.
Alex.
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Thu May 15, 2008 6:07 am Post subject: |
|
|
| kanada wrote: | Guys, i know how to add this template to my Cisco device, but i can't import it due to my old 0.8.6h cacti version on one machine.
I'm getting back Error: XML: Hash version does not exist when importing the template.
Alex. |
Sorry I have no idea how to make it work on the old version. Have you considered upgrading?
cheers,
N
|
|
| Back to top |
|
 |
kanada Cacti User
Joined: 28 Aug 2005 Posts: 125
|
Posted: Fri May 16, 2008 3:44 am Post subject: |
|
|
| niobe wrote: | | kanada wrote: | Guys, i know how to add this template to my Cisco device, but i can't import it due to my old 0.8.6h cacti version on one machine.
I'm getting back Error: XML: Hash version does not exist when importing the template.
Alex. |
Sorry I have no idea how to make it work on the old version. Have you considered upgrading?
cheers,
N |
Yep, i think about it but at this time i can't do an upgrade. Anyway thank you
Alex.
|
|
| Back to top |
|
 |
|