|
|
| Author |
Message |
Wunk
Joined: 05 Mar 2004 Posts: 35
|
Posted: Thu Jun 22, 2006 9:33 am Post subject: |
|
|
| upgrade to the latest cacti, you cannot import stuff that was exported from a newer version then you're running
|
|
| Back to top |
|
 |
Wunk
Joined: 05 Mar 2004 Posts: 35
|
Posted: Thu Jun 22, 2006 11:05 am Post subject: |
|
|
| Small bug that I found though, it gets a bit confused when you have more then 1 session with the same AS. It messes the datasources up then..
|
|
| Back to top |
|
 |
bidzer
Joined: 20 Jun 2006 Posts: 21
|
Posted: Fri Jun 23, 2006 11:04 am Post subject: Question... |
|
|
| What is this exactly monitoring in BGP? The graph doesn't seem to be monitoring the received prefixes and other stuff.
|
|
| Back to top |
|
 |
Wunk
Joined: 05 Mar 2004 Posts: 35
|
Posted: Fri Jun 23, 2006 11:06 am Post subject: |
|
|
| The number of updates it receives from the peers, easy to spot if someone is doing excessive updates this way..
|
|
| Back to top |
|
 |
bidzer
Joined: 20 Jun 2006 Posts: 21
|
Posted: Fri Jun 23, 2006 1:07 pm Post subject: Anyway to graph prefixes and bgp sums? |
|
|
| Thanks
|
|
| Back to top |
|
 |
bidzer
Joined: 20 Jun 2006 Posts: 21
|
Posted: Fri Jun 23, 2006 1:07 pm Post subject: |
|
|
Anyway to graph prefixes and bgp sums?
Thanks
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Fri Jul 14, 2006 8:31 am Post subject: |
|
|
I've been running this remplate for awhile and I just noticed something odd with the graphs, see attached. Can I just delete the double entries in the template?
| Description: |
|
| Filesize: |
57.28 KB |
| Viewed: |
8098 Time(s) |

|
| Description: |
|
| Filesize: |
110.03 KB |
| Viewed: |
8098 Time(s) |

|
|
|
| Back to top |
|
 |
Feren
Joined: 01 Sep 2006 Posts: 1 Location: Oakbrook Terrace, IL
|
Posted: Fri Sep 15, 2006 3:57 pm Post subject: |
|
|
| tribune wrote: | 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
|
I got a little lost on what you did here to get the titles updated. Can you clarify a bit for the Cacti newbie?
Thanks!
|
|
| Back to top |
|
 |
redphive
Joined: 08 Jan 2003 Posts: 9
|
Posted: Fri Oct 06, 2006 6:07 pm Post subject: Cacti 0.86i-beta4 |
|
|
I noticed a problem with this after reinstalling my dev system with the latest 0.8.6i beta 4 release. The following code should outline my point:
| Code: | RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="7609-Core SNMP-V1 - bgpPeerIdentifier" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--y-grid=1 \
--units-exponent=1 \
--vertical-label="" \
--slope-mode \
DEF:a="/www/cacti/rra/7609core_snmpv1_bgppeerouttotalmsg_35.rrd":bgpPeerInUpdates:AVERAGE \
DEF:b="/www/cacti/rra/7609core_snmpv1_bgppeerouttotalmsg_35.rrd":bgpPeerOutUpdates:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefe=b,300,* \
LINE1:cdefa#3D168B:"In updates" \
GPRINT:cdefa:LAST:" Current\:%8.0lf" \
GPRINT:cdefa:MIN:"Min\:%8.0lf" \
GPRINT:cdefa:MAX:"Max\:%8.0lf\n" \
LINE1:cdefe#7EE600:"Out updates" \
GPRINT:cdefe:LAST:"Current\:%8.0lf" \
GPRINT:cdefe:MIN:"Min\:%8.0lf" \
GPRINT:cdefe:MAX:"Max\:%8.0lf\n"
RRDTool Says:
ERROR: invalid y-grid format
|
From the rrdgraph man pages:
| Quote: | Y-Axis
[-y|--y-grid grid step:label factor]
[-y|--y-grid none]
Y-axis grid lines appear at each grid step interval. Labels are placed every label factor lines. You can specify -y none to suppress the grid and labels altogether. The default for this option is to automatically select sensible values.
|
So I don't know if this is something that the template author missed originally due to a fixed bug:
| Code: |
bug#0000316: unit_value is not taken into account
bug#0000739: "Unit value" parameter in template options ignored |
Removing the Unit Grid Value value in the Cisco - BGP Updates graph template fixes the issue, but I am sure there is to be some update to this.
Thanks
|
|
| Back to top |
|
 |
lard Cacti User
Joined: 20 Jul 2005 Posts: 157 Location: UK - Cambridge
|
Posted: Fri Nov 10, 2006 8:37 am Post subject: |
|
|
I have had a problem with this template also - added and imported fine but got the usual "unable to find rrd file" error message when trying to find why the graphs dont appear - I initially went in and created 200 graphs for each peer on our router but will now do this for one and see what error message I get when it runs,
Thanks,
Lard
|
|
| Back to top |
|
 |
godot
Joined: 01 Feb 2007 Posts: 5 Location: belgium
|
Posted: Thu Feb 01, 2007 4:50 am Post subject: This from script |
|
|
--
Last edited by godot on Tue Feb 13, 2007 3:14 am; edited 1 time in total |
|
| Back to top |
|
 |
godot
Joined: 01 Feb 2007 Posts: 5 Location: belgium
|
Posted: Tue Feb 13, 2007 3:09 am Post subject: |
|
|
Hello All,
I am using this template to graph BGP data... unfortunately, I have some routers in DMZ and they are not accessible using snmp.
I have a .pl script the return all necessary information about them (it uses an SNMP relay). I would like to use this BGP template but using my script to retrieve data.
My script supports the normal index, query and get arguments (its behaviour is the same than the unix_disk.xml), so I can ascociate a device with the classical "cisco_bgp" data queries, or with my "cisco_bgp_proxied" data queries, i got the same result.
Below is my XML file. It contains the same fiels that the SNMP template.
BUT... when I try to create graph (|host_description| - BGP - |query_bgpPeer| ), the |query_bgpPeer| is not resolved and nothing happend. No graphs are created.
Can someone help me please !!
<query>
<name>BGP peering from NETview polling</name>
<description>BGP peering from NETview polling</description>
<script_path>perl /PRD/SYDN/CACTI/scripts/BGP.pl</script_path>
<arg_prepend> |host_hostname| |host_snmp_community| </arg_prepend>
<arg_index>index</arg_index>
<arg_query>query</arg_query>
<arg_get>get</arg_get>
<arg_num_indexes></arg_num_indexes>
<output_delimeter>:</output_delimeter>
<index_order>bgpPeerRemoteAs</index_order>
<index_order_type>alphabetic</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<bgpPeerRemoteAs>
<name>Remote AS</name>
<direction>input</direction>
<query_name>bgpPeerRemoteAs</query_name>
</bgpPeerRemoteAs>
<bgpPeer>
<name>Peer Address</name>
<direction>input</direction>
<query_name>bgpPeer</query_name>
</bgpPeer>
<bgpPeerAdminStatus>
<name>Admin Status(1-down,2-up)</name>
<direction>input</direction>
<query_name>bgpPeerAdminStatus</query_name>
</bgpPeerAdminStatus>
<bgpPeerInUpdates>
<name>bgpPeerInUpdates</name>
<direction>output</direction>
<query_name>bgpPeerInUpdates</query_name>
</bgpPeerInUpdates>
<bgpPeerOutUpdates>
<name>bgpPeerOutUpdates</name>
<direction>output</direction>
<query_name>bgpPeerOutUpdates</query_name>
</bgpPeerOutUpdates>
<bgpPeerInTotalMessages>
<name>bgpPeerInTotalMessages</name>
<direction>output</direction>
<query_name>bgpPeerInTotalMessages</query_name>
</bgpPeerInTotalMessages>
<bgpPeerOutTotalMessages>
<name>bgpPeerOutTotalMessages</name>
<direction>output</direction>
<query_name>bgpPeerOutTotalMessages</query_name>
</bgpPeerOutTotalMessages>
</fields>
</query>
|
|
| Back to top |
|
 |
kplau
Joined: 22 Apr 2007 Posts: 4
|
Posted: Sun Apr 22, 2007 2:11 am Post subject: IPv6 BGP Support? :) |
|
|
| This graph is great! I've gotten mine to work - thanks to the previous posters concerning the Y-Grid thing error as well as the title correction, I've gotten my BGP graphs to work. However I also have some peers using IPv6 addresses and I don't think these are displaying correctly (instead of IPv6 addresses I'm just getting weird IPv4 numbers) though I think the graphs still works. Anyone worked out a solution to this problem yet?
|
|
| Back to top |
|
 |
andrew2 Cacti User
Joined: 26 Jul 2004 Posts: 64 Location: Cincinnati, OH
|
Posted: Fri Apr 27, 2007 12:28 pm Post subject: No output? |
|
|
After adding the Data Query to a few BGP-enabled routers, I consistently get:
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/cacti/resource/snmp_queries/cisco_bgp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.15.3.1.7'
+ No SNMP data returned
+ Found data query XML file at '/cacti/resource/snmp_queries/cisco_bgp.xml'
+ Found data query XML file at '/cacti/resource/snmp_queries/cisco_bgp.xml'
+ Found data query XML file at '/cacti/resource/snmp_queries/cisco_bgp.xml'
running an snmpwalk for .1.3.6.1.2.1.15.3.1.7 manually from the commandline correctly returns a list of BGP peers. Any thoughts?
Andrew
|
|
| Back to top |
|
 |
tarpat1
Joined: 01 Jan 2006 Posts: 17
|
Posted: Tue May 15, 2007 10:51 am Post subject: |
|
|
| tribune wrote: | 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... |
ooh very nice
|
|
| Back to top |
|
 |
|