Issue with Graph for BGP
Moderators: Developers, Moderators
Issue with Graph for BGP
I am in the process of moving cacti from one server to another, I have imported the BGP templates from my old server and the graphs are not being created for some reason. When I go into the graph managemtent portion and turn on the debug for the graph this is my output
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pdxentrte01 - BGP - Peer:10.150.1.51 AS19083" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--y-grid=1 \
--units-exponent=1 \
--vertical-label="" \
--slope-mode \
DEF:a="/usr/local/monitoring/cacti/rra/pdxentrte01_bgppeerinupdates_317.rrd":bgpPeerInUpdates:AVERAGE \
DEF:b="/usr/local/monitoring/cacti/rra/pdxentrte01_bgppeerinupdates_317.rrd":bgpPeerOutUpdates:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefh=b,300,* \
LINE2:cdefa#3D168B:"In updates" \
GPRINT:cdefa:LAST:" Current\:%8.0lf" \
GPRINT:cdefa:LAST:"Current\:%8.0lf" \
GPRINT:cdefa:MIN:"Min\:%8.0lf" \
GPRINT:cdefa:MIN:"Min\:%8.0lf" \
GPRINT:cdefa:MAX:"Max\:%8.0lf\n" \
GPRINT:cdefa:MAX:"Max\:%8.0lf\n" \
LINE2:cdefh#7EE600:"Out updates" \
GPRINT:cdefh:LAST:"Current\:%8.0lf" \
GPRINT:cdefh:LAST:"Current\:%8.0lf" \
GPRINT:cdefh:MIN:"Min\:%8.0lf" \
GPRINT:cdefh:MIN:"Min\:%8.0lf" \
GPRINT:cdefh:MAX:"Max\:%8.0lf\n" \
GPRINT:cdefh:MAX:"Max\:%8.0lf\n"
RRDTool Says:
ERROR: invalid y-grid format
as you can see there is a y-grid on this one. On the server where this is working there is no y-grid line no the graph properties. How can I get this out of there?
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pdxentrte01 - BGP - Peer:10.150.1.51 AS19083" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--y-grid=1 \
--units-exponent=1 \
--vertical-label="" \
--slope-mode \
DEF:a="/usr/local/monitoring/cacti/rra/pdxentrte01_bgppeerinupdates_317.rrd":bgpPeerInUpdates:AVERAGE \
DEF:b="/usr/local/monitoring/cacti/rra/pdxentrte01_bgppeerinupdates_317.rrd":bgpPeerOutUpdates:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefh=b,300,* \
LINE2:cdefa#3D168B:"In updates" \
GPRINT:cdefa:LAST:" Current\:%8.0lf" \
GPRINT:cdefa:LAST:"Current\:%8.0lf" \
GPRINT:cdefa:MIN:"Min\:%8.0lf" \
GPRINT:cdefa:MIN:"Min\:%8.0lf" \
GPRINT:cdefa:MAX:"Max\:%8.0lf\n" \
GPRINT:cdefa:MAX:"Max\:%8.0lf\n" \
LINE2:cdefh#7EE600:"Out updates" \
GPRINT:cdefh:LAST:"Current\:%8.0lf" \
GPRINT:cdefh:LAST:"Current\:%8.0lf" \
GPRINT:cdefh:MIN:"Min\:%8.0lf" \
GPRINT:cdefh:MIN:"Min\:%8.0lf" \
GPRINT:cdefh:MAX:"Max\:%8.0lf\n" \
GPRINT:cdefh:MAX:"Max\:%8.0lf\n"
RRDTool Says:
ERROR: invalid y-grid format
as you can see there is a y-grid on this one. On the server where this is working there is no y-grid line no the graph properties. How can I get this out of there?
- TheWitness
- Developer
- Posts: 16997
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
More accurately, you have a numeric value in the Unit Grid Value within your Graph Template. You need to remove it. Things will improve then.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 59
- Joined: Fri Mar 23, 2007 3:38 pm
I am having the same issue. When I put a numeric value in "Unit Grid Value" and click save my graphs disappear and when I debug it says
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DC-6509-WD-1 - Routing Memory Used" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--y-grid=100000 \
--vertical-label="bytes per minute" \
--slope-mode \
DEF:a="/usr/share/cacti/rra/dc6509wd1_routing_memory_used_12220.rrd":routing_memory_used:AVERAGE \
AREA:a#007283:"Routing Memory Used\:" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
GPRINTMIN:"Min\:%8.0lf\n"
RRDTool Says:
ERROR: invalid y-grid format
I have the lasted version of Cacti 0.8.6j
and have installed all the patches.
ping_php_version4_snmpgetnext.patch
tree_console_missing_hosts.patch
thumbnail_graphs_not_working.patch
graph_debug_lockup_fix.patch
snmpwalk_fix.patch
what patch fixes the "y-grid" bug??
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DC-6509-WD-1 - Routing Memory Used" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--y-grid=100000 \
--vertical-label="bytes per minute" \
--slope-mode \
DEF:a="/usr/share/cacti/rra/dc6509wd1_routing_memory_used_12220.rrd":routing_memory_used:AVERAGE \
AREA:a#007283:"Routing Memory Used\:" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
GPRINTMIN:"Min\:%8.0lf\n"
RRDTool Says:
ERROR: invalid y-grid format
I have the lasted version of Cacti 0.8.6j
and have installed all the patches.
ping_php_version4_snmpgetnext.patch
tree_console_missing_hosts.patch
thumbnail_graphs_not_working.patch
graph_debug_lockup_fix.patch
snmpwalk_fix.patch
what patch fixes the "y-grid" bug??
-
- Cacti User
- Posts: 59
- Joined: Fri Mar 23, 2007 3:38 pm
-
- Cacti User
- Posts: 59
- Joined: Fri Mar 23, 2007 3:38 pm
I understand that when I put in a value other then "none" in the unit grid it jacks up the graph to where you can't see it, but I am wanting the graph to have some Y values so that I can have a grasp of what I am looking at.
The Y-Grid litarally doesn't have any values at all.
The Y-Grid litarally doesn't have any values at all.
- Attachments
-
- untitled.jpg (18.68 KiB) Viewed 2615 times
Who is online
Users browsing this forum: No registered users and 3 guests