Hi all,
I've been using Cacti for months succesfully showing data as usual for 5 min stats, weekly, monthly and yearly stats.
Suddenly I've realized that only 5 min stats works properly, whereas the other stats are missing.
To be more precise, Weekly Monthly and Yearly Average Stats appears EXACTLY the same as the 5 min stats.But they should show aggregated data by week, month..
I don't understand why.
In attachment an example of it.
Cacti version is 1.2.2 and here a debug from Management > Graph:
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--pango-markup \
--title='Raspbian Pi 4 - Memory Usage' \
--vertical-label='kilobytes' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--tabwidth '40' \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2020/11/14 19\:34\:25 To 2020/11/15 19\:29\:25\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti' \
DEF:a='/usr/share/cacti/site/rra/raspbian_pi_4_mem_buffers_11.rrd':'mem_buffers':AVERAGE \
DEF:b='/usr/share/cacti/site/rra/raspbian_pi_4_mem_swap_12.rrd':'mem_swap':AVERAGE \
CDEF:cdefa='a,1024,*' \
CDEF:cdefe='b,1024,*' \
AREA:cdefa#FF4105FF:'Free' \
GPRINT:cdefa:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
AREA:cdefe#FFC73BFF:'Swap':STACK \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDtool Says:
OK
Mssing Weekly Monthly and Yearly Average Stats
Moderators: Developers, Moderators
Mssing Weekly Monthly and Yearly Average Stats
- Attachments
-
- Cacti.jpg (141.39 KiB) Viewed 853 times
Re: Mssing Weekly Monthly and Yearly Average Stats
Upgrade to the latest Cacti or apply this patch.
https://github.com/Cacti/cacti/commit/b ... dc8b18c1b7
https://github.com/Cacti/cacti/commit/b ... dc8b18c1b7
Re: Mssing Weekly Monthly and Yearly Average Stats
Many thanks for replying . It's a bug then
Re: Mssing Weekly Monthly and Yearly Average Stats
Applied the patches : It works perfectly
Who is online
Users browsing this forum: fpiorek and 7 guests