[rrd-users] values get updated in RRD DB but doesnt reflect when doing a fetch or dump

Anuj Maurice anuj.maurice at gmail.com
Thu Jul 5 06:25:38 CEST 2012


Thanks Alex I implemented your suggestion and things looks fine now

On 04/07/12 3:43 PM, Alex van den Bogaerdt wrote:
> Your updates do not make it into the RRD. They are filtered out.
> Wether you know it or not, you are asking RRDtool to ignore those updates.
> Updates further apart than the heartbeat, are assumed to be unreliable 
> and result in unknown data.
> Your heartbeat is 2000.  Your updates are 3600 apart.
> HTH
> Alex
> http://rrdtool.vandenbogaerdt.nl/
>
>     ----- Original Message -----
>     *From:* Anuj Maurice <mailto:anuj.maurice at gmail.com>
>     *To:* rrd-users at lists.oetiker.ch <mailto:rrd-users at lists.oetiker.ch>
>     *Sent:* Wednesday, July 04, 2012 12:05 PM
>     *Subject:* [rrd-users] values get updated in RRD DB but doesnt
>     reflect when doing a fetch or dump
>
>
>
>     i am populating an rrd db once an hour. The value gets
>     successfully updated in rrd db but it doesnt doesnt get updated to
>     archives
>
>     Whenever i try to fetch data using rrdfetch it return NaN and
>     rrddump showns dump too.
>
>     but rrdtool info shows the last update value .
>
>     steps is 2000 and rras
>
>
>     |'RRA:MIN:0.5:1:44640'
>     'RRA:MAX:0.5:1:44640'
>     'RRA:AVERAGE:0.5:1:44640'
>     'RRA:LAST:0.1:1:44640'
>
>     |Following is my rrdtool info output .
>
>     |filename = "abc.red.prod.rrd"
>     rrd_version = "0003"
>     step = 2000
>     last_update = 1341392733
>     ds[resume_l].type = "GAUGE"
>     ds[resume_l].minimal_heartbeat = 2000
>     ds[resume_l].min = NaN
>     ds[resume_l].max = NaN
>     ds[resume_l].last_ds = "22403399"
>     ds[resume_l].value = 1.6471702915e+10
>     ds[resume_l].unknown_sec = 0
>     ds[suspend_l].type = "GAUGE"
>     ds[suspend_l].minimal_heartbeat = 2000
>     ds[suspend_l].min = NaN
>     ds[suspend_l].max = NaN
>     ds[suspend_l].last_ds = "23203177"
>          ds[suspend_l].value = 1.7281112506e+10
>          ds[suspend_l].unknown_sec = 0
>          rra[0].cf = "MIN"
>          rra[0].rows = 44640
>          rra[0].cur_row = 31110
>          rra[0].pdp_per_row = 1
>          rra[0].xff = 5.0000000000e-01
>          rra[0].cdp_prep[0].value = NaN
>          rra[0].cdp_prep[0].unknown_datapoints = 0
>          rra[0].cdp_prep[1].value = NaN
>          rra[0].cdp_prep[1].unknown_datapoints = 0
>          rra[1].cf = "MAX"
>          rra[1].rows = 44640
>          rra[1].cur_row = 32625
>          rra[1].pdp_per_row = 1
>          rra[1].xff = 5.0000000000e-01
>          rra[1].cdp_prep[0].value = NaN
>          rra[1].cdp_prep[0].unknown_datapoints = 0
>          rra[1].cdp_prep[1].value = NaN
>          rra[1].cdp_prep[1].unknown_datapoints = 0
>          rra[2].cf = "AVERAGE"
>          rra[2].rows = 44640
>          rra[2].cur_row = 41634
>          rra[2].pdp_per_row = 1
>          rra[2].xff = 5.0000000000e-01
>          rra[2].cdp_prep[0].value = NaN
>          rra[2].cdp_prep[0].unknown_datapoints = 0
>          rra[2].cdp_prep[1].value = NaN
>          rra[2].cdp_prep[1].unknown_datapoints = 0
>          rra[3].cf = "LAST"
>          rra[3].rows = 44640
>          rra[3].cur_row = 8075
>          rra[3].pdp_per_row = 1
>          rra[3].xff = 1.0000000000e-01
>          rra[3].cdp_prep[0].value = NaN
>          rra[3].cdp_prep[0].unknown_datapoints = 0
>          rra[3].cdp_prep[1].value = NaN
>          rra[3].cdp_prep[1].unknown_datapoints = 0
>
>
>     |and this is the output of rrdtool dump .. only selected regions
>
>
>     |                <!-- 2012-07-04 01:06:40 UTC / 1341364000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 01:40:00 UTC / 1341366000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 02:13:20 UTC / 1341368000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 02:46:40 UTC / 1341370000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 03:20:00 UTC / 1341372000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 03:53:20 UTC / 1341374000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 04:26:40 UTC / 1341376000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 05:00:00 UTC / 1341378000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 05:33:20 UTC / 1341380000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 06:06:40 UTC / 1341382000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 06:40:00 UTC / 1341384000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 07:13:20 UTC / 1341386000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 07:46:40 UTC / 1341388000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 08:20:00 UTC / 1341390000 --> <row><v> NaN </v><v> NaN </v></row>
>                          <!-- 2012-07-04 08:53:20 UTC / 1341392000 --> <row><v> NaN </v><v> NaN </v></row>
>                  </database>
>          </rra>
>
>
>     I am blocked on this any suggestion would be highly helpful
>
>     Thanks
>     |
>
>
>
>
>
>     ------------------------------------------------------------------------
>     _______________________________________________
>     rrd-users mailing list
>     rrd-users at lists.oetiker.ch
>     https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120705/ec07978b/attachment.htm 


More information about the rrd-users mailing list