Cisco BGP graph

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

skoal
Posts: 10
Joined: Sat Mar 04, 2006 9:48 am

Cisco BGP graph

Post by skoal »

Hi

Here is a template 4 Cisco BGP stats,exported with 0.8.6h+plugin_arch.

Waiting 4 comments 8)
Attachments
bgp_graph.rar
(8.25 KiB) Downloaded 11291 times
bgp_graph.png
bgp_graph.png (3.33 KiB) Viewed 82758 times
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

so do you importat each of the xml files or does one (or more) get moved to the script_query folder?
skoal
Posts: 10
Joined: Sat Mar 04, 2006 9:48 am

Post by skoal »

knobdy wrote:so do you importat each of the xml files or does one (or more) get moved to the script_query folder?
you have to move the cisco_bgp.xml to the resource/snmp_queries dir
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Yep, figured it out. :)
egironda
Posts: 45
Joined: Mon Dec 19, 2005 6:44 pm

Post by egironda »

This is lovely, works perfectly. Thanks!
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Any ideas on how to make this just a routing protocol template - to include, for instance, OSPF, IGRP, EGRP, etc.?
skoal
Posts: 10
Joined: Sat Mar 04, 2006 9:48 am

Post by skoal »

knobdy wrote:Any ideas on how to make this just a routing protocol template - to include, for instance, OSPF, IGRP, EGRP, etc.?
i will try to make a bgp+ospf template and then you can go allong
with that.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

I'll try. :)

I did notice that OSPF is pretty close to BGP in the OID tree...will have to search for the others.
tribune
Posts: 8
Joined: Tue May 02, 2006 1:45 am

Post by tribune »

alright whast the trick with this to display the correct description in the title of the actual graph

instead of the getting like the above with AS

im just getting

Router - bgpPeerIdentifier

any help appreciated guys
tribune
Posts: 8
Joined: Tue May 02, 2006 1:45 am

Post by tribune »

ok sorted this out ...

within the

cacti_graph_template_cisco_bgp_updates.xml

it has the title like

<title>|host_description| - bgpPeerIdentifier</title>

but going through the other xml files, the contents between the title tags should be

|host_description| - BGP - Peer:|query_bgpPeer| AS|query_bgpPeerRemoteAs|

Changed this within cacti and boom, title's are correct and looking sweet as

great stuff...
Cain
Posts: 16
Joined: Wed Sep 22, 2004 12:05 pm
Location: Cleveland, OH

Post by Cain »

Looks like this will be quite cool. We just started to run BGP and it will be nice to get some cool graphs to go with it. Thanks!

Matthew
Wunk
Posts: 37
Joined: Fri Mar 05, 2004 8:34 am
Contact:

Post by Wunk »

Works great on a Foundry Bigiron 4000 too..

edit: well almost great, getting a bunch of gaps in my graphs, see:
http://forums.cacti.net/viewtopic.php?p=69851#69851
Jeroen Wunnink
Easyhosting.nl Sysadmin
gg234
Cacti User
Posts: 63
Joined: Fri Oct 07, 2005 11:14 am
Contact:

Post by gg234 »

i have downloaded the bgp templates and i have copied the cisco_bgp.xml file in snmp directory as suggested above.I don't know what to do in cacti front end and how to create templates and graphs for this xml file and any one is having good documentation please provide me

thanks for your help
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Post by chercen »

gg234 wrote:i have downloaded the bgp templates and i have copied the cisco_bgp.xml file in snmp directory as suggested above.I don't know what to do in cacti front end and how to create templates and graphs for this xml file and any one is having good documentation please provide me

thanks for your help
Go to Console, Devices. Clic on your Cisco router.

On the bottom of the new page, go to the Associated Data Queries frame. On the drop-down menu "Add data Query" select CiscoBGP. Clic the Add button on the right-bottom. Then go to the upper side of the page, and clic the "Create Graphs for this host" blue link.

You will find now your peers. Select the checkboxes of those peers, and clic "Create" button. You now have your graphs created (well, just wait for 10 minutes so that they gather traffic :-))

Regards,
gg234
Cacti User
Posts: 63
Joined: Fri Oct 07, 2005 11:14 am
Contact:

Error: XML: Hash version does not exist.

Post by gg234 »

when i try to import those XML files i am getting Error: XML: Hash version does not exist.

i am using cacti 0.8.6g

any solution for this

thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest