Preview View mode display problem

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sioux
Posts: 5
Joined: Sun Apr 08, 2007 1:10 pm
Location: poland/tarnow

Preview View mode display problem

Post by sioux »

Hi

I have a problem with displaing graphs in preview mode at which i do summing (|sum:auto:current:2:auto|)

When I remove summing function from graph template everything is working properly
When I add summing graph don't want to show in preview mode BUT when I click it (to view it with more details) graphs are drown properly

system: ubuntu 6.10 se
cacti: 0.8.6j
rrdtool: 1.2.19 (hand compiled with default settings)

on another box I have the same setup but with 1.2.11 version of rrdtool and with the same graph templates everything is working ok!

what to do with that?
Attachments
when clicked at text in preview mode
when clicked at text in preview mode
pic3.jpg (103.89 KiB) Viewed 886 times
with summing
with summing
pic2.jpg (95.47 KiB) Viewed 886 times
without summing in graph template
without summing in graph template
pic1.jpg (100.91 KiB) Viewed 886 times
sioux
Posts: 5
Joined: Sun Apr 08, 2007 1:10 pm
Location: poland/tarnow

Post by sioux »

I commited some test
I compile rrdtool v1.2.19 .18 .17 .16 and they are acting the same as I posted abow
but when I compile v 1.2.15 it starts working (v 1.2.11 is also working) .. I didnt try .14 .13 .12

I dont know where to search for a problem :[
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post the RRDtool Graph Syntax using Graph Debug. I am interested to see if I can figure it out.

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?
sioux
Posts: 5
Joined: Sun Apr 08, 2007 1:10 pm
Location: poland/tarnow

Post by sioux »

here you go :)

RRDTool Command:

/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xxx - tx/rx bytes" \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Bps" \
--slope-mode \
DEF:a="/var/www/cacti/rra/gimnazjum_strength_18.rrd":txbytes:AVERAGE \
DEF:b="/var/www/cacti/rra/gimnazjum_strength_18.rrd":rxbytes:AVERAGE \
AREA:a#00CF00:"Download\:" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total\: 1.47 GB\n" \
LINE1:b#002A97:"Upload\:" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total\: 707.34 MB\n"

RRDTool Says:

OK

with a version 1.2.19 in Graph managment every thing is ok .. thist graph is shown properly ... only in preview view it doesnt show
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests