lower-limit not getting applied in rrdtool graph from cacti
I cannot seem to get the lower limit of my graph to be 5 million instead of 0... Tried all kinds of different combinations and it simply is not getting applied.
cacti version = 0.8.7g
rrdtool version = 1.4.5
See all the screen shots below of all my settings and my final graph that does not reflect the lower limit setting
Reason we want to see it starting at 5 Million is to be able to see the zoomed in variation between days... it doesn't vary a lot and you cannot see that there is any variation at all with the range 0 - whatever
the second value of reception state is either a 1 or a 0... is that why? because sometimes there is a 0 it ignores my lower limit altogether?
lower-limit not getting applied in rrdtool graph from cacti
Moderators: Developers, Moderators
lower-limit not getting applied in rrdtool graph from cacti
- Attachments
-
- Graph that does not take the lower value of starting at 5 Million
- graph.JPG (40.57 KiB) Viewed 509 times
-
- Graph management setting
- graph.management.setting.lower.limit.JPG (16.6 KiB) Viewed 509 times
-
- Data Template screen shot 2
- data.template2.JPG (64.86 KiB) Viewed 509 times
-
- Data Template screen shot 1
- data.template1.JPG (61.78 KiB) Viewed 509 times
-
- Template Settings
- template.settings.JPG (114.72 KiB) Viewed 509 times
Re: lower-limit not getting applied in rrdtool graph from ca
here is the output from cacti... to my best knowledge this is what is being sent to the command line
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1394572140 \
--end=1394831340 \
--title='xVu Daily 5530' \
--base=1000 \
--height=240 \
--width=800 \
--alt-autoscale-max \
--lower-limit=5000000 \
COMMENT:"From 2014/03/11 17\:09\:00 To 2014/03/14 17\:09\:00\c" \
COMMENT:" \n" \
--vertical-label='Number of Records' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="omitted":nbRecords:AVERAGE \
DEF:b="omitted":receptionState:AVERAGE \
CDEF:cdefa=b,0,EQ,a,0,IF \
CDEF:cdeff=b,1,EQ,a,0,IF \
AREA:cdefa#00FF00FF:"" \
\
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
AREA:cdeff#FF0000FF:"" \
if I send this on the command line it works and respect and displays my lower limit starting at 5 million
#trying autoscale....
rrdtool graph 5530.dat.png --alt-autoscale --start=-2937600 --end=-2764800 --lower-limit=5000000 \
DEF:nbRecords=omitted:AVERAGE \
AREA:nbRecords#00FF00:"nbRecords"
#trying autoscale no lower limit
rrdtool graph 5530.dat.png --alt-autoscale --start=-2937600 --end=-2764800 \
DEF:nbRecords=omitted:nbRecords:AVERAGE \
AREA:nbRecords#00FF00:"nbRecords"
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1394572140 \
--end=1394831340 \
--title='xVu Daily 5530' \
--base=1000 \
--height=240 \
--width=800 \
--alt-autoscale-max \
--lower-limit=5000000 \
COMMENT:"From 2014/03/11 17\:09\:00 To 2014/03/14 17\:09\:00\c" \
COMMENT:" \n" \
--vertical-label='Number of Records' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="omitted":nbRecords:AVERAGE \
DEF:b="omitted":receptionState:AVERAGE \
CDEF:cdefa=b,0,EQ,a,0,IF \
CDEF:cdeff=b,1,EQ,a,0,IF \
AREA:cdefa#00FF00FF:"" \
\
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
AREA:cdeff#FF0000FF:"" \
if I send this on the command line it works and respect and displays my lower limit starting at 5 million
#trying autoscale....
rrdtool graph 5530.dat.png --alt-autoscale --start=-2937600 --end=-2764800 --lower-limit=5000000 \
DEF:nbRecords=omitted:AVERAGE \
AREA:nbRecords#00FF00:"nbRecords"
#trying autoscale no lower limit
rrdtool graph 5530.dat.png --alt-autoscale --start=-2937600 --end=-2764800 \
DEF:nbRecords=omitted:nbRecords:AVERAGE \
AREA:nbRecords#00FF00:"nbRecords"
Re: lower-limit not getting applied in rrdtool graph from ca
Any help whatsoever would be greatly appreciated... I have not found anything that helps in my searching.
Who is online
Users browsing this forum: No registered users and 6 guests