Hi all,
I've got a bit of a weird issue with a graph/data collection. I'm collecting bandwidth information from a load balancing pair of Zues traffic managers. Data collection/graphing from the individual hosts is fine, but when I combine the output from the individual scripts I get silly peaks every so often;
I've added some debugging to my script and the data being collected is defo not peaking, so something screwy is going on in rrdtool or the poller.
I've dumped the data out of the rrd and can't see anything wrong as such.... although I may be looking at the data wrong.
Any ideas on where I should proceed with this.
Spikes in graphs
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Spikes in graphs
Please use the wrench next to the graph and post the printed rrdtool graph statement, then
R.
R.
Re: Spikes in graphs
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1300274480 \
--end=1300360880 \
--title='ZXTM Traffic - Combined' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2011/03/16 11\:21\:20 To 2011/03/17 11\:21\:20\c" \
COMMENT:" \n" \
--vertical-label= \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:7: \
--font UNIT:8: \
DEF:a="/home/cacti/rra/689.rrd":totalBytesInCmbed:LAST \
DEF:b="/home/cacti/rra/689.rrd":totalBytesOutCmbed:LAST \
DEF:c="/home/cacti/rra/689.rrd":totalBytesOutCmbed:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
LINE1:cdefa#00FF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
HRULE:18472542.46#FF0000FF:"95th Percentile" \
COMMENT:"(18.47 mbit in+out)\n"
--imgformat=PNG \
--start=1300274480 \
--end=1300360880 \
--title='ZXTM Traffic - Combined' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2011/03/16 11\:21\:20 To 2011/03/17 11\:21\:20\c" \
COMMENT:" \n" \
--vertical-label= \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:7: \
--font UNIT:8: \
DEF:a="/home/cacti/rra/689.rrd":totalBytesInCmbed:LAST \
DEF:b="/home/cacti/rra/689.rrd":totalBytesOutCmbed:LAST \
DEF:c="/home/cacti/rra/689.rrd":totalBytesOutCmbed:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
LINE1:cdefa#00FF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
HRULE:18472542.46#FF0000FF:"95th Percentile" \
COMMENT:"(18.47 mbit in+out)\n"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Spikes in graphs
And how were those "combined" data sources filled?
In case you already have both "basic" data sources, you simply may want to use AGGREGATE to create the aggregate graph.
R.
In case you already have both "basic" data sources, you simply may want to use AGGREGATE to create the aggregate graph.
R.
Who is online
Users browsing this forum: No registered users and 2 guests