Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cisco BGP graph
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
skoal



Joined: 04 Mar 2006
Posts: 10

PostPosted: Tue Mar 07, 2006 3:39 am    Post subject: Cisco BGP graph Reply with quote

Hi

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

Waiting 4 comments



bgp_graph.png
 Description:
 Filesize:  3.33 KB
 Viewed:  28128 Time(s)

bgp_graph.png



bgp_graph.rar
 Description:

Download
 Filename:  bgp_graph.rar
 Filesize:  8.25 KB
 Downloaded:  3771 Time(s)

Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Mar 07, 2006 9:39 am    Post subject: Reply with quote

so do you importat each of the xml files or does one (or more) get moved to the script_query folder?
Back to top
skoal



Joined: 04 Mar 2006
Posts: 10

PostPosted: Tue Mar 07, 2006 9:42 am    Post subject: Reply with quote

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
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Mar 07, 2006 11:43 am    Post subject: Reply with quote

Yep, figured it out.
Back to top
egironda



Joined: 19 Dec 2005
Posts: 45

PostPosted: Tue Mar 07, 2006 10:13 pm    Post subject: Reply with quote

This is lovely, works perfectly. Thanks!
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Mar 08, 2006 10:12 am    Post subject: Reply with quote

Any ideas on how to make this just a routing protocol template - to include, for instance, OSPF, IGRP, EGRP, etc.?
Back to top
skoal



Joined: 04 Mar 2006
Posts: 10

PostPosted: Wed Mar 08, 2006 11:28 am    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Mar 08, 2006 12:18 pm    Post subject: Reply with quote

I'll try.

I did notice that OSPF is pretty close to BGP in the OID tree...will have to search for the others.
Back to top
tribune



Joined: 02 May 2006
Posts: 8

PostPosted: Wed May 17, 2006 9:11 pm    Post subject: Reply with quote

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
Back to top
tribune



Joined: 02 May 2006
Posts: 8

PostPosted: Wed May 17, 2006 11:33 pm    Post subject: Reply with quote

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...
Back to top
Cain



Joined: 22 Sep 2004
Posts: 16
Location: Cleveland, OH

PostPosted: Sat Jun 10, 2006 11:27 pm    Post subject: Reply with quote

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
Back to top
Wunk



Joined: 05 Mar 2004
Posts: 35

PostPosted: Mon Jun 19, 2006 11:41 am    Post subject: Reply with quote

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
Back to top
gg234
Cacti User


Joined: 07 Oct 2005
Posts: 62

PostPosted: Thu Jun 22, 2006 7:00 am    Post subject: Reply with quote

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
Back to top
chercen



Joined: 09 Apr 2006
Posts: 35
Location: Spain

PostPosted: Thu Jun 22, 2006 8:27 am    Post subject: Reply with quote

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,
Back to top
gg234
Cacti User


Joined: 07 Oct 2005
Posts: 62

PostPosted: Thu Jun 22, 2006 9:30 am    Post subject: Error: XML: Hash version does not exist. Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group