Cacti History Problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
east_cost
Posts: 35
Joined: Tue Jan 22, 2008 5:33 am

Cacti History Problem

Post by east_cost »

hi all i am running cacti0.8.6j for about last 9 months and it is working fine.

but suddenly i got some problem in graph history as it only maintains 3 days data not for last month .. some devices show complete history and some show only last 3 day history ..


can anyone help and resolve the problem

thanks
Attachments
Lost History Example
Lost History Example
lost history.JPG (53.35 KiB) Viewed 2270 times
OK History Example
OK History Example
okhistory.JPG (52.55 KiB) Viewed 2270 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you resize some rrd files lately?
Reinhard
User avatar
east_cost
Posts: 35
Joined: Tue Jan 22, 2008 5:33 am

Post by east_cost »

no i aint touched the rrd's ... ?? what may be the reason behind that ?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you imported any "new" templates lately? Once of the things that we changed between 0.8.6 and 0.8.7 was the ability not to corrupt your RRA definitions when you import someone elses buggy templates. My guess is that is what you did.

If not, then you will have to look into your RRDfile and provide information from the info command.

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?
User avatar
east_cost
Posts: 35
Joined: Tue Jan 22, 2008 5:33 am

Post by east_cost »

here is the data source debug mode info

/usr/bin/rrdtool create \
/cacti/rra/co1_traffic_in_1757.rrd \
--step 1 \
DS:traffic_out:COUNTER:600:0:1000000000000000000 \
DS:traffic_in:COUNTER:600:0:1000000000000000000 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This sounds fine. But please add output of "rrdtool info" for the rrd file in question and compare it to the above
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests