Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000377 [Cacti] Graph Management minor always 2004-12-16 17:37 2007-11-13 12:48
Reporter infinity005 View Status public  
Assigned To TheWitness
Priority normal Resolution fixed  
Status closed   Product Version 0.8.6b
Summary 0000377: Switching graph to logarithmic causes graph to not display
Description Adding the --logarithmic through graph management gui causes this. I'm using 5 rrd files as graph input.

-going through finding all the debug, i got an error (below). Mabye this is now a gui fix?
Additional Information ERROR: for a logarithmic yaxis you must specify a lower-limit > 0

12/16/2004 02:30:54 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start
=-2678400 --end=-7200 --title="test - QoS" --rigid --base=1000 --height=500 --width=500 --alt-aut
oscale-max --lower-limit=0 --logarithmic --vertical-label="bits per second" DEF:a="/home/brendon/pub
lic_html/cacti-0.8.6b/rra/test_leaf_10_70.rrd":leaf_10:AVERAGE DEF:b="/home/brendon/public_html/cacti-0
.8.6b/rra/test_leaf_11_71.rrd":leaf_11:AVERAGE DEF:c="/home/brendon/public_html/cacti-0.8.6b/rra/test_l
eaf_12_72.rrd":leaf_12:AVERAGE DEF:d="/home/brendon/public_html/cacti-0.8.6b/rra/test_leaf_13_73.rrd":l
eaf_13:AVERAGE DEF:e="/home/brendon/public_html/cacti-0.8.6b/rra/test_leaf_14_74.rrd":leaf_14:AVERAGE
CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* CDEF:cdefi=c,8,* CDEF:cdefbc=d,8,* CDEF:cdefbg=e,8,* CDEF:cdefca=
TIME,1103229054,GT,a,a,UN,0,a,IF,IF,TIME,1103229054,GT,b,b,UN,0,b,IF,IF,TIME,1103229054,GT,c,c,UN,0,c,IF
,IF,TIME,1103229054,GT,d,d,UN,0,d,IF,IF,TIME,1103229054,GT,e,e,UN,0,e,IF,IF,+,+,+,+,8,* LINE1:cdefa#750
F7D:"Leaf 10" GPRINT:cdefa:LAST:"Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPR
INT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#4444FF:"Leaf 11" GPRINT:cdefe:LAST:"Current\:%8.2lf
 %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefi
#00BD27:"Leaf 12" GPRINT:cdefi:LAST:"Current\:%8.2lf %s" GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s"
 GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#EA8F00:"Leaf 13" GPRINT:cdefbc:LAST:"Current\:
%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n" LIN
E1:cdefbg#FF0000:"Leaf 14" GPRINT:cdefbg:LAST:"Current\:%8.2lf %s" GPRINT:cdefbg:AVERAGE:"Average\:%
8.2lf %s" GPRINT:cdefbg:MAX:"Maximum\:%8.2lf %s\n" GPRINT:cdefca:AVERAGE:"Total%8.2lf %s" GPRINT:c
defca:LAST:"Current\:%8.2lf %s" GPRINT:cdefca:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefca:MAX:"Maximu
m\:%8.2lf %s"


#################

5 of these. leaf 10-14.

/usr/bin/rrdtool create \
/home/brendon/public_html/cacti-0.8.6b/rra/prelude_leaf_10_81.rrd \
--step 300 \
DS:leaf_10:COUNTER:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Tags No tags attached.
Attached Files png file icon graph_image.png [^] (14,486 bytes) 2004-12-16 17:37

- Relationships

-  Notes
(0000856)
artemb (reporter)
2005-02-15 23:07
edited on: 2005-02-15 23:08

If you put "--logarithmic --lower-limit 0.1" at the end of command line, it will work.

edited on: 02-15-05 23:08
(0000960)
TheWitness (developer)
2005-05-26 17:21

This issue will be resolved in 0.8.6e. However, you will have to tune your rrd files to add a lower limit instead of "U".

TheWitness

- Issue History
Date Modified Username Field Change
2004-12-16 17:37 infinity005 New Issue
2004-12-16 17:37 infinity005 File Added: graph_image.png
2005-01-08 12:02 rony Status new => assigned
2005-01-08 12:02 rony Assigned To => iberry@raxnet.net
2005-02-15 23:07 artemb Note Added: 0000856
2005-02-15 23:08 artemb Note Edited: 0000856
2005-05-26 17:19 TheWitness Assigned To iberry@raxnet.net => TheWitness
2005-05-26 17:21 TheWitness Status assigned => resolved
2005-05-26 17:21 TheWitness Resolution open => fixed
2005-05-26 17:21 TheWitness Note Added: 0000960
2007-11-13 12:48 TheWitness Status resolved => closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker