cacti graphing only 4 days worth

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

Moderators: Developers, Moderators

Post Reply
planman
Posts: 3
Joined: Tue Dec 01, 2009 4:45 am

cacti graphing only 4 days worth

Post by planman »

Suddenly my Cacti seems to be deleting/ignoring data older than 4 days in graphs.

This is consistant for all hosts regardless of templates.

This leeds me to believe that there must be a setting that controlls the maximum graph span?

This is a clean install of CactiEZ Version 0.8.7c.

Spine poller and rrdtool v1.2.x.

It has worked perfectly for a few months, now all that data is missing from the graps.
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Post by jay »

Hi

Very odd. Your not running out of disk space?

Can you check your data templates and make sure that the RRA's that you want to use are highlighted.

You can also check the RRA are correct by going to data sources and RRA.

Maybe when importing a template its has messed with your RRA settings.

Cheers

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
planman
Posts: 3
Joined: Tue Dec 01, 2009 4:45 am

Post by planman »

no, I have plenty of diskspace.

checked the config for Data templates, host templates, Graph templates, etc. with a working CactiEZ install and there are no discrepencies.

At a closer look:

The default graphs for localhost have all data since install.

I noticed that none of the other .rrd files exeed 3081376 Dec.

I even chmod 777 all .rrd, but it should not matter since the poller runs as root and new data is continously beeing added to the .rrd's

I have not added new templates to the install since install, and it worked perfectly for 2 months before this issue arised.

only thing that has been tampered with, is time settings. Could this be the cause, and if so, why is not the default graphs for localhost affected?

I'm puzzled
malaki_csh
Posts: 2
Joined: Wed Jul 29, 2009 10:24 am
Contact:

Post by malaki_csh »

I have had a simmilar issue where all data older than 3 days is being truncated from all of my RRDs.

Here is my default rrd creation:

/usr/bin/rrdtool create \
/var/www/html/rra/25/919.rrd \
--step 300 \
DS:connections:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:1:10080 \
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:1:10080 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:1:10080 \
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:1:10080 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \


I have had this running a few months and have a lot of data sources but any older than 3 days or so are being removed:

<!-- 2009-12-05 23:30:00 CST / 1260077400 --> <row><v> NaN </v></row>
<!-- 2009-12-06 00:00:00 CST / 1260079200 --> <row><v> NaN </v></row>
<!-- 2009-12-06 00:30:00 CST / 1260081000 --> <row><v> NaN </v></row>
<!-- 2009-12-06 01:00:00 CST / 1260082800 --> <row><v> NaN </v></row>
<!-- 2009-12-06 01:30:00 CST / 1260084600 --> <row><v> 3.1956277909e+02 </v></row>
<!-- 2009-12-06 02:00:00 CST / 1260086400 --> <row><v> 2.7327666667e+02 </v></row>
<!-- 2009-12-06 02:30:00 CST / 1260088200 --> <row><v> 2.8796833333e+02 </v></row>
<!-- 2009-12-06 03:00:00 CST / 1260090000 --> <row><v> 3.1065555556e+02 </v></row>
<!-- 2009-12-06 03:30:00 CST / 1260091800 --> <row><v> 3.2316722222e+02 </v></row>

All RRAs in all RRDs seem to be loosing data older than about 3 days. I am not sure why.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The RRA settings are wrecked. There are 2 RRAs with the same consolidation level (1) but different CDPs. This may or may not be a root cause, but it's at least incorrect.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests