Cisco BGP graph

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

Moderators: Moderators, Developers

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

Cisco BGP graph

#1 Post by skoal » Tue Mar 07, 2006 3:39 am

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 10892 times
bgp_graph.png
bgp_graph.png (3.33 KiB) Viewed 78111 times

knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

#2 Post by knobdy » Tue Mar 07, 2006 9:39 am

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

#3 Post by skoal » Tue Mar 07, 2006 9:42 am

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

#4 Post by knobdy » Tue Mar 07, 2006 11:43 am

Yep, figured it out. :)

egironda
Posts: 45
Joined: Mon Dec 19, 2005 6:44 pm

#5 Post by egironda » Tue Mar 07, 2006 10:13 pm

This is lovely, works perfectly. Thanks!

knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

#6 Post by knobdy » Wed Mar 08, 2006 10:12 am

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

#7 Post by skoal » Wed Mar 08, 2006 11:28 am

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

#8 Post by knobdy » Wed Mar 08, 2006 12:18 pm

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

#9 Post by tribune » Wed May 17, 2006 9:11 pm

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

#10 Post by tribune » Wed May 17, 2006 11:33 pm

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

#11 Post by Cain » Sat Jun 10, 2006 11:27 pm

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:

#12 Post by Wunk » Mon Jun 19, 2006 11:41 am

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:

#13 Post by gg234 » Thu Jun 22, 2006 7:00 am

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

#14 Post by chercen » Thu Jun 22, 2006 8:27 am

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.

#15 Post by gg234 » Thu Jun 22, 2006 9:30 am

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