external rrd create and update

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

Moderators: Developers, Moderators

noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: external rrd create and update

Post by noname »

chefchanyu wrote:second question.

I want to keep the data over record for 3 years. so is it mean i just need to increase the 86400 to 86400 * 365 * 3?
and create the rrd file like this:

Code: Select all

rrdtool create test_per_second.rrd     \
        --step 1                        \
        DS:testvalue:GAUGE:3:U:U        \
        RRA:AVERAGE:0.5:1:94608000         \
        RRA:MAX:0.5:1:94608000
Probably yes, but this rrd size is very HUGE..

Approximately:
94608000 (rows) *2 (AVERAGE & MAX) *1 (num of DS) *8 (bytes) = 1.5GB (!)

FYI: http://forums.cacti.net/viewtopic.php?f=21&t=39478
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

Hi noname:

I got this testing Perl script collecting all the data form my log file. It has no error when I run the script. and RRD file seen been updated (I use "rrdtool info test.rrd" checked)
but my graph is empty.



my perl scipt:

Code: Select all

#!/usr/bin/perl
use strict;
use Switch;
use Time::Local; 

open(FILE, "/home/d353202/RRDScript/mm_21_sec_count201106150000");

while(my $record = <FILE>)
{
	my %count = ();
	while ($record =~ /((\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d))\s(\w+)/ig)
	{
		# my $time = $1;
		my $MO_count = $8;
		my $year = $2;
		my $mon = $3;
		my $mday = $4;
		my $hou = $5;
		my $min = $6;
		my $sec = $7;
		
		my $time = timelocal($sec,$min,$hou,$mday,$mon,$year);
		
		$count{$time} = $MO_count;
		
		my $update = `rrdtool update /var/www/cacti/rra/test/mm21.rrd $time:$MO_count`;
		print $update;
	}
}



my log file:

Code: Select all

20110615000111 1
20110615000112 1
20110615000114 1
20110615000119 1
20110615000122 1
20110615000124 1
20110615000127 3
20110615000128 1
20110615000135 3
20110615000137 1
20110615000142 1
20110615000147 1
20110615000148 1
20110615000157 2
20110615000159 1
20110615000200 1
20110615000201 1
20110615000204 1
20110615000209 1
20110615000211 1
20110615000212 1
20110615000213 1
20110615000217 1
20110615000218 1
20110615000219 1
20110615000224 1
20110615000225 1
20110615000228 1
20110615000237 1
20110615000239 2
20110615000242 1
20110615000246 1
20110615000247 2
20110615000250 1
20110615000254 1
20110615000301 2
20110615000302 4
20110615000304 1
20110615000315 1
20110615000317 1
20110615000326 1
20110615000328 1
20110615000329 1
20110615000331 1
20110615000333 1
20110615000335 1
20110615000336 1
20110615000338 1
20110615000339 1
20110615000344 1
20110615000346 2
20110615000354 1
20110615000357 1
20110615000358 1
20110615000406 2
20110615000417 1
20110615000421 1
20110615000427 1
20110615000428 1
20110615000429 1
20110615000435 1
20110615000439 1
20110615000442 2
20110615000443 1
20110615000445 1
20110615000446 1
20110615000447 1
20110615000449 1
20110615000452 1
20110615000453 1
20110615000457 1
20110615000458 1
20110615000500 1
20110615000501 1
20110615000510 1
20110615000511 1
20110615000512 1
20110615000518 1
20110615000520 1

.......


Attachments
2011-06-16_155918.png
2011-06-16_155918.png (36.19 KiB) Viewed 1783 times
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: external rrd create and update

Post by noname »

See usage of Perl timelocal() function.
the month is the number of months since January (0..11)
chefchanyu wrote:I got this testing Perl script collecting all the data form my log file. It has no error when I run the script. and RRD file seen been updated (I use "rrdtool info test.rrd" checked)
but my graph is empty.

my perl scipt:

Code: Select all

...
		my $mon = $3;
...
You're updating data of next month.
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

I had change the perl script "$mon = $3 -1".

Code: Select all

#!/usr/bin/perl
use strict;
use Switch;
use Time::Local; 

open(FILE, "/home/d353202/RRDScript/mms_21_sec_count201106150000");

while(my $record = <FILE>)
{
	my %count = ();
	while ($record =~ /((\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d))\s(\w+)/ig)
	{
		# my $time = $1;
		my $MO_count = $8;
		my $year = $2;
		my $mon = $3 -1;
		my $mday = $4;
		my $hou = $5;
		my $min = $6;
		my $sec = $7;
		
		my $time = timelocal($sec,$min,$hou,$mday,$mon,$year);
		# print $time . "=> ". $MO_count . "\n";

		# print $year . "\n";

		$count{$time} = $MO_count;
		
		my $update = `rrdtool update /var/www/cacti/rra/test/mms21.rrd $time:$MO_count`;
		print $update;
	}
}
And I remove the rrd file and recreate new one with follow command. which going to keep the data less 3 years. (the manager wants keep the data for 10 years)

Code: Select all

rrdtool create mms21.rrd --step 1 DS:testing:GAUGE:3:0:100 RRA:AVERAGE:0.5:1:94608000 RRA:MAX:0.5:1:94608000


and then run the script I got this error.......... :(

Code: Select all

ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060071 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060072 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060074 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060079 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060082 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060084 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060087 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060088 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060095 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060097 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060102 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060107 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060108 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060117 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060119 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060120 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060121 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060124 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060129 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060131 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060132 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060133 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060137 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060138 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060139 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060144 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060145 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060148 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060170 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060174 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060181 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060182 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060184 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060195 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060197 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060206 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060208 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060209 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060211 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060213 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060215 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060216 when last update time is 1308271101 (minimum one second step)
ERROR: /var/www/cacti/rra/test/mms21.rrd: illegal attempt to update using time 1308060218 when last update time is 1308271101 (minimum one second step)
..............

^C
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: external rrd create and update

Post by gandalf »

This is a "Normal" error with rrdtool. Once it has received an update for some timestamp, it won't accept any updates "younger" than that.
R.
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

fix that with "--start"
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

please help! broken graph. :cry:
Attachments
2011-06-17_225308.png
2011-06-17_225308.png (36.6 KiB) Viewed 1774 times
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

Hi noname:

I had tried many time. all data in rrd graph are broken. I am really don't know where went wrong. I had follow all step are same as test.rrd on earlier time.
is there possible that Perl script running too quick the rrdtool update did not keep up?
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: external rrd create and update

Post by noname »

chefchanyu wrote:I had tried many time. all data in rrd graph are broken. I am really don't know where went wrong. I had follow all step are same as test.rrd on earlier time.
is there possible that Perl script running too quick the rrdtool update did not keep up?
I think that the above graph seems good. Where is that "broken"?
Please perform "rrdtool dump" and verify its result.
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 1 </step> <!-- Seconds -->
        <lastupdate> 1308146398 </lastupdate> <!-- 2011-06-15 23:59:58 EST -->

        <ds>
                <name> testing </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 3 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> 1.0000000000e+02 </max>

                <!-- PDP Status -->
                <last_ds> 1 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 1 seconds -->

                <params>
                <xff> 5.0000000000e-01 </xff>
                </params>
                <cdp_prep>
                        <ds>
                        <primary_value> 1.0000000000e+00 </primary_value>
                        <secondary_value> 1.0000000000e+00 </secondary_value>
                        <value> NaN </value>
                        <unknown_datapoints> 0 </unknown_datapoints>
                        </ds>
                </cdp_prep>
                <database>
                        <!-- 2008-06-15 23:59:59 EST / 1213538399 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:00 EST / 1213538400 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:01 EST / 1213538401 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:02 EST / 1213538402 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:03 EST / 1213538403 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:04 EST / 1213538404 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:05 EST / 1213538405 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:06 EST / 1213538406 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:07 EST / 1213538407 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:08 EST / 1213538408 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:09 EST / 1213538409 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:10 EST / 1213538410 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:11 EST / 1213538411 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:12 EST / 1213538412 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:13 EST / 1213538413 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:14 EST / 1213538414 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:15 EST / 1213538415 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:16 EST / 1213538416 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:17 EST / 1213538417 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:18 EST / 1213538418 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:19 EST / 1213538419 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:20 EST / 1213538420 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:21 EST / 1213538421 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:22 EST / 1213538422 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:23 EST / 1213538423 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:24 EST / 1213538424 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:25 EST / 1213538425 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:26 EST / 1213538426 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:27 EST / 1213538427 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:28 EST / 1213538428 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:29 EST / 1213538429 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:30 EST / 1213538430 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:31 EST / 1213538431 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:32 EST / 1213538432 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:33 EST / 1213538433 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:34 EST / 1213538434 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:35 EST / 1213538435 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:36 EST / 1213538436 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:37 EST / 1213538437 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:38 EST / 1213538438 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:39 EST / 1213538439 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:40 EST / 1213538440 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:41 EST / 1213538441 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:42 EST / 1213538442 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:43 EST / 1213538443 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:44 EST / 1213538444 --> <row><v> NaN </v></row>
                        <!-- 2008-06-16 00:00:45 EST / 1213538445 --> <row><v> NaN </v></row>
here is out put from the command.
my input data at less 2 or 3 second has a input. when I see the graph between 3 to 4 am is empty for 2 hours.
<!-- 2008-06-16 00:00:45 <== looks not right :cry:
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: external rrd create and update

Post by noname »

chefchanyu wrote:<!-- 2008-06-16 00:00:45 <== looks not right :cry:
This is not wrong.
Because rrdtool takes space to store whole data (in your case, 3 years) when creating rrd file.

Please perform "rrdtool dump" again, like as..

Code: Select all

% rrdtool dump xxxx.rrd | grep '2011-06-15'
And verify what the value stored.
chefchanyu wrote:my input data at less 2 or 3 second has a input. when I see the graph between 3 to 4 am is empty for 2 hours.
Probably it is "30 Minute Average".. Please look the graph in more detailed resolution.
Or, try to replace AVERAGE with MAX for graph items in Graph Template.
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

don't know why start print out form 2008 to 2011. I just compere this rrdtool dump out put with my real data. it is missing a lot of data input.

Code: Select all

                        <!-- 2011-06-15 03:00:00 EST / 1308070800 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:01 EST / 1308070801 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:02 EST / 1308070802 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:03 EST / 1308070803 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:04 EST / 1308070804 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:05 EST / 1308070805 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:06 EST / 1308070806 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:07 EST / 1308070807 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:08 EST / 1308070808 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:09 EST / 1308070809 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:10 EST / 1308070810 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:11 EST / 1308070811 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:12 EST / 1308070812 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:13 EST / 1308070813 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:14 EST / 1308070814 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:15 EST / 1308070815 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:16 EST / 1308070816 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:17 EST / 1308070817 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:18 EST / 1308070818 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:19 EST / 1308070819 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:20 EST / 1308070820 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:21 EST / 1308070821 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:22 EST / 1308070822 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:23 EST / 1308070823 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:24 EST / 1308070824 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:25 EST / 1308070825 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:26 EST / 1308070826 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:27 EST / 1308070827 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:28 EST / 1308070828 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:29 EST / 1308070829 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:30 EST / 1308070830 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:31 EST / 1308070831 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:32 EST / 1308070832 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:33 EST / 1308070833 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:34 EST / 1308070834 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:35 EST / 1308070835 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:36 EST / 1308070836 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:37 EST / 1308070837 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:38 EST / 1308070838 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:39 EST / 1308070839 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:40 EST / 1308070840 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:41 EST / 1308070841 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:42 EST / 1308070842 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:43 EST / 1308070843 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:44 EST / 1308070844 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:45 EST / 1308070845 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:46 EST / 1308070846 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:47 EST / 1308070847 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:48 EST / 1308070848 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:49 EST / 1308070849 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:50 EST / 1308070850 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:51 EST / 1308070851 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:52 EST / 1308070852 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:53 EST / 1308070853 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:54 EST / 1308070854 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:55 EST / 1308070855 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:56 EST / 1308070856 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:57 EST / 1308070857 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:58 EST / 1308070858 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:00:59 EST / 1308070859 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:00 EST / 1308070860 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:01 EST / 1308070861 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:02 EST / 1308070862 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:03 EST / 1308070863 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:04 EST / 1308070864 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:05 EST / 1308070865 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:06 EST / 1308070866 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:07 EST / 1308070867 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:08 EST / 1308070868 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:09 EST / 1308070869 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:10 EST / 1308070870 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:11 EST / 1308070871 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:12 EST / 1308070872 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:13 EST / 1308070873 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:14 EST / 1308070874 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:15 EST / 1308070875 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:16 EST / 1308070876 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:17 EST / 1308070877 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:18 EST / 1308070878 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:19 EST / 1308070879 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:20 EST / 1308070880 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:21 EST / 1308070881 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:22 EST / 1308070882 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:23 EST / 1308070883 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:24 EST / 1308070884 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:25 EST / 1308070885 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:26 EST / 1308070886 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:27 EST / 1308070887 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:28 EST / 1308070888 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:29 EST / 1308070889 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:30 EST / 1308070890 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:31 EST / 1308070891 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:32 EST / 1308070892 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:33 EST / 1308070893 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:34 EST / 1308070894 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:35 EST / 1308070895 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:36 EST / 1308070896 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:37 EST / 1308070897 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:38 EST / 1308070898 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:39 EST / 1308070899 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:40 EST / 1308070900 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:41 EST / 1308070901 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:42 EST / 1308070902 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:43 EST / 1308070903 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:44 EST / 1308070904 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:45 EST / 1308070905 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:46 EST / 1308070906 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:47 EST / 1308070907 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:48 EST / 1308070908 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:49 EST / 1308070909 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:50 EST / 1308070910 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:51 EST / 1308070911 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:52 EST / 1308070912 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:53 EST / 1308070913 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:54 EST / 1308070914 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:55 EST / 1308070915 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:56 EST / 1308070916 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:57 EST / 1308070917 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:58 EST / 1308070918 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:59 EST / 1308070919 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:00 EST / 1308070920 --> <row><v> 1.0000000000e+00 </v></row>
                        <!-- 2011-06-15 03:02:01 EST / 1308070921 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:02 EST / 1308070922 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:03 EST / 1308070923 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:04 EST / 1308070924 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:05 EST / 1308070925 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:06 EST / 1308070926 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:07 EST / 1308070927 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:08 EST / 1308070928 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:09 EST / 1308070929 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:10 EST / 1308070930 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:11 EST / 1308070931 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:12 EST / 1308070932 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:13 EST / 1308070933 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:14 EST / 1308070934 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:15 EST / 1308070935 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:16 EST / 1308070936 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:17 EST / 1308070937 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:18 EST / 1308070938 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:19 EST / 1308070939 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:20 EST / 1308070940 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:21 EST / 1308070941 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:22 EST / 1308070942 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:23 EST / 1308070943 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:24 EST / 1308070944 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:25 EST / 1308070945 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:26 EST / 1308070946 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:27 EST / 1308070947 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:28 EST / 1308070948 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:29 EST / 1308070949 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:30 EST / 1308070950 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:31 EST / 1308070951 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:32 EST / 1308070952 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:33 EST / 1308070953 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:34 EST / 1308070954 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:35 EST / 1308070955 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:36 EST / 1308070956 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:37 EST / 1308070957 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:38 EST / 1308070958 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:39 EST / 1308070959 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:40 EST / 1308070960 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:41 EST / 1308070961 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:42 EST / 1308070962 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:43 EST / 1308070963 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:44 EST / 1308070964 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:45 EST / 1308070965 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:46 EST / 1308070966 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:47 EST / 1308070967 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:48 EST / 1308070968 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:49 EST / 1308070969 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:50 EST / 1308070970 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:51 EST / 1308070971 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:52 EST / 1308070972 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:53 EST / 1308070973 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:54 EST / 1308070974 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:55 EST / 1308070975 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:56 EST / 1308070976 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:57 EST / 1308070977 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:58 EST / 1308070978 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:59 EST / 1308070979 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:00 EST / 1308070980 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:01 EST / 1308070981 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:02 EST / 1308070982 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:03 EST / 1308070983 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:04 EST / 1308070984 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:05 EST / 1308070985 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:06 EST / 1308070986 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:07 EST / 1308070987 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:08 EST / 1308070988 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:09 EST / 1308070989 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:10 EST / 1308070990 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:11 EST / 1308070991 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:12 EST / 1308070992 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:13 EST / 1308070993 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:14 EST / 1308070994 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:15 EST / 1308070995 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:16 EST / 1308070996 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:17 EST / 1308070997 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:18 EST / 1308070998 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:19 EST / 1308070999 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:20 EST / 1308071000 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:21 EST / 1308071001 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:22 EST / 1308071002 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:23 EST / 1308071003 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:24 EST / 1308071004 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:25 EST / 1308071005 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:26 EST / 1308071006 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:27 EST / 1308071007 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:28 EST / 1308071008 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:29 EST / 1308071009 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:30 EST / 1308071010 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:31 EST / 1308071011 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:32 EST / 1308071012 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:33 EST / 1308071013 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:34 EST / 1308071014 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:35 EST / 1308071015 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:36 EST / 1308071016 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:37 EST / 1308071017 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:38 EST / 1308071018 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:39 EST / 1308071019 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:40 EST / 1308071020 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:41 EST / 1308071021 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:42 EST / 1308071022 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:43 EST / 1308071023 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:44 EST / 1308071024 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:45 EST / 1308071025 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:46 EST / 1308071026 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:47 EST / 1308071027 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:48 EST / 1308071028 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:49 EST / 1308071029 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:50 EST / 1308071030 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:51 EST / 1308071031 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:52 EST / 1308071032 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:53 EST / 1308071033 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:54 EST / 1308071034 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:55 EST / 1308071035 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:56 EST / 1308071036 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:57 EST / 1308071037 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:58 EST / 1308071038 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:03:59 EST / 1308071039 --> <row><v> NaN </v></row>
:
my log file at 3:00 to 3:02:59 am

Code: Select all

20110615030017 1
20110615030032 1
20110615030120 1
20110615030136 1
20110615030159 1
20110615030200 1
20110615030223 1
20110615030250 1
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

The graph tmp was set to "MAX" form beginning.

the be low is zoom in graph:
Attachments
2011-06-21_125820.png
2011-06-21_125820.png (23.12 KiB) Viewed 1756 times
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: external rrd create and update

Post by noname »

>> don't know why start print out form 2008 to 2011.

Probably you specified that timestamp (3 years ago) by "--start" option when creating this rrd.

And from your post,
chefchanyu wrote:And I remove the rrd file and recreate new one with follow command. which going to keep the data less 3 years. (the manager wants keep the data for 10 years)

Code: Select all

rrdtool create mms21.rrd --step 1 DS:testing:GAUGE:3:0:100 RRA:AVERAGE:0.5:1:94608000 RRA:MAX:0.5:1:94608000
and
chefchanyu wrote:I just compere this rrdtool dump out put with my real data. it is missing a lot of data input.

Code: Select all

...
                        <!-- 2011-06-15 03:01:57 EST / 1308070917 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:58 EST / 1308070918 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:01:59 EST / 1308070919 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:00 EST / 1308070920 --> <row><v> 1.0000000000e+00 </v></row>
                        <!-- 2011-06-15 03:02:01 EST / 1308070921 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:02 EST / 1308070922 --> <row><v> NaN </v></row>
                        <!-- 2011-06-15 03:02:03 EST / 1308070923 --> <row><v> NaN </v></row>
...
my log file at 3:00 to 3:02:59 am

Code: Select all

20110615030017 1
20110615030032 1
20110615030120 1
20110615030136 1
20110615030159 1
20110615030200 1
20110615030223 1
20110615030250 1
You create this rrd file with 3 seconds heartbeat,
DS:testing:GAUGE:3:0:100

but your inputs are too intermittent.
20110615030017 1
: 15 seconds
20110615030032 1
: 48 seconds
20110615030120 1
: 16 seconds
20110615030136 1
: 23 seconds
20110615030159 1
: 1 second
20110615030200 1
: 23 seconds
20110615030223 1
: 27 seconds
20110615030250 1
The data which expired heartbeat is regarded as NaN.

RRDtool - rrdcreate
(See "The HEARTBEAT and the STEP" section)
chefchanyu
Cacti User
Posts: 153
Joined: Wed Aug 25, 2010 11:07 pm

Re: external rrd create and update

Post by chefchanyu »

rrdtool create mms21.rrd --step 1 DS:testing:GAUGE:60:0:100 RRA:AVERAGE:0.5:1:94608000 RRA:MAX:0.5:1:94608000
so is it mean I increase the heartbeat will fix that problem?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests