Missing data for months ago

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

Moderators: Developers, Moderators

abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Missing data for months ago

Post by abcdexyz »

Hi everyone

linux ver : Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Cacti Version 0.8.7b
RRDTool Version RRDTool 1.2.23

The server is setup for over a year, which is running smoothly until now.
As refer to attach graph, we found that only 16 days data is displayed, other data is missing from the yearly graph.

I have read through some similar topic on the forums, it mention that there is something relate to rrdtool consolidation settings, however the RRAs configure remain unchanged (default setting). Any other consolidation settings I should beware of?

I am really run out of idea which area I should look into, would you please give me a hand

Thanks

Paul
Attachments
graph.JPG
graph.JPG (147.92 KiB) Viewed 1460 times
victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Missing data for months ago

Post by victorantunes »

Go to Data Sources -> click on the desired Data Source's name -> Turn On Data Source Debug Mode

and post the results of that
abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Re: Missing data for months ago

Post by abcdexyz »

Thanks
Attachments
datasource.JPG
datasource.JPG (43.68 KiB) Viewed 1441 times
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: Missing data for months ago

Post by Qinxocy »

abcdexyz wrote:Hi everyone

linux ver : Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Cacti Version 0.8.7b
RRDTool Version RRDTool 1.2.23

The server is setup for over a year, which is running smoothly until now.
As refer to attach graph, we found that only 16 days data is displayed, other data is missing from the yearly graph.

I have read through some similar topic on the forums, it mention that there is something relate to rrdtool consolidation settings, however the RRAs configure remain unchanged (default setting). Any other consolidation settings I should beware of?

I am really run out of idea which area I should look into, would you please give me a hand

Thanks

Paul


Dear

Your question the same problem with me, I only can save 5 months of data, add my MSN talk together: 124483360@qq.com

Thanks
victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Missing data for months ago

Post by victorantunes »

Well, your step value is set to 10 seconds, when the usual default is 300.

I don't think that's what you want, so I suggest you change it. Also, if those 10 seconds are the not the behavior you wanted, I have no idea what caused it, since you said it's been running smoothly for some time.

However, I don't think it'll get you your old data back. Most likely, it'll start gathering data at a normal rate again.


BTW, if you do wish to maintain the 10s step, you'll have to re-calculate you RRAs.
Qinxocy
Posts: 17
Joined: Sun Nov 04, 2012 12:34 am

Re: Missing data for months ago

Post by Qinxocy »

victorantunes wrote:Well, your step value is set to 10 seconds, when the usual default is 300.

I don't think that's what you want, so I suggest you change it. Also, if those 10 seconds are the not the behavior you wanted, I have no idea what caused it, since you said it's been running smoothly for some time.

However, I don't think it'll get you your old data back. Most likely, it'll start gathering data at a normal rate again.


BTW, if you do wish to maintain the 10s step, you'll have to re-calculate you RRAs.

my steps is 60 seconds..
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Missing data for months ago

Post by paulgevers »

Qinxocy wrote: my steps is 60 seconds..
Looking at the screen shot you provided, it is 10.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Re: Missing data for months ago

Post by abcdexyz »

Thanks your reply,
The previous message is replied by another user....
abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Re: Missing data for months ago

Post by abcdexyz »

Just find out that there are some devices with "step 300" also experience the same problem
victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Missing data for months ago

Post by victorantunes »

Post the results of the data source debug for those devices with 300s step
abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Re: Missing data for months ago

Post by abcdexyz »

sorry I forgot to attach the screen capture
Attachments
p2.JPG
p2.JPG (88.43 KiB) Viewed 1378 times
p1.JPG
p1.JPG (104.74 KiB) Viewed 1378 times
victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Missing data for months ago

Post by victorantunes »

those RRAs look correct. for how long has this device been polled?

make sure both your poller and cron intervals are set to 5 minutes on cacti's interface, under Settings -> Poller

also, post here your cron entry for poller.php
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Missing data for months ago

Post by gandalf »

victorantunes wrote:those RRAs look correct.
Thx for supporting; but you can't judge RRA settings from DAta Source panel. You should always have an "rrdtool info" of that file, as changes to the data tenplate may NOT have been propagated to the rrd file that has been created before such a change
R.
victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Missing data for months ago

Post by victorantunes »

Thank you. I was not aware of that.

I always assumed the transitions of data between data templates and file structures were seamless.
Guess it's true what they say about assumption being the mother of all major misunderstandings.
abcdexyz
Posts: 8
Joined: Thu Nov 01, 2012 3:47 am

Re: Missing data for months ago

Post by abcdexyz »

Thanks Victorantunes & gandalf
The problem is solved :D

The problem is caused by
1) misleading information (those yearly graph is not working from the beginning)
2) step and RRAs mismatch (10 second step with RRAs for 5mins)
3) that 2375.rrd is belong to a new add device, so it can't be use as a reference

Victorantunes you are correct in the very beginning
After I unify the "step" in related data template and recalculate the RRAs, I got a correct looking .rrd file

Just wondering is there any way to change all step in data template at once?

Here is the RRAs setting for 10 second step
Attachments
p3.JPG
p3.JPG (22.44 KiB) Viewed 1345 times
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests