[Urgent] Need help, graph just showing 2 days

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

Moderators: Developers, Moderators

Post Reply
dhodi
Posts: 3
Joined: Mon Apr 23, 2012 2:01 am

[Urgent] Need help, graph just showing 2 days

Post by dhodi »

Dear Cacti Team,

I am facing problem after upgrading my cacti from 0.8.8g to 0.8.8f
If I create new devices, the graph just graphing for 2 days.
Here I attached 3 screenshots from viewing last day and last week graphs.
last-day.jpg
last-day.jpg (113.82 KiB) Viewed 734 times
last-week.jpg
last-week.jpg (100.53 KiB) Viewed 734 times
Cacti versions : 0.8.8f
RRDTool : 1.3.8-7.e16
OS : CentOS 6.7 (Final)

Here is the data template :
data_template.jpg
data_template.jpg (152.64 KiB) Viewed 734 times
And this is the graph template that I use :
graph_template.jpg
graph_template.jpg (307.78 KiB) Viewed 734 times
This RRA is still default from the Cacti :
rra.jpg
rra.jpg (47.14 KiB) Viewed 734 times
Graph debug output :

Code: Select all

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='Asep / xxxxxxxx - Traffic - eth0/2' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/html/cacti-0.8.8f/rra/xxxxxxxx_traffic_in_2852.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/html/cacti-0.8.8f/rra/xxxxxxxx_traffic_in_2852.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'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' 
RRDTool Says:
OK
Data source debug output :

Code: Select all

Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti-0.8.8f/rra/xxxxxxxx_traffic_in_2852.rrd \
--step 300  \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:MAX:0.5:1:600 \
Please help me to solve this problem, i need to store my data for 1 year.
Thanks
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: [Urgent] Need help, graph just showing 2 days

Post by micke2k »

Try marking the other rras that you want graphed:
Attachments
rra.png
rra.png (11.44 KiB) Viewed 718 times
dhodi
Posts: 3
Joined: Mon Apr 23, 2012 2:01 am

Re: [Urgent] Need help, graph just showing 2 days

Post by dhodi »

Can you show me the example for the other rra?
I don't really understand about it.
micke2k wrote:Try marking the other rras that you want graphed:
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: [Urgent] Need help, graph just showing 2 days

Post by micke2k »

In the picture you have provided, click the other RRAs.
Attachments
data_template.jpg
data_template.jpg (150.71 KiB) Viewed 627 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests