[rrd-users] RRD Not Storing Historical Gauge Data
A Darren Dunham
ddunham at taos.com
Tue Nov 4 18:15:41 CET 2008
On Tue, Nov 04, 2008 at 10:09:47AM -0500, William R. Lorenz wrote:
> Hi All,
>
> I'm trying to create a GAUGE-like RRD, fill it with historical data, and
> then graph the results. Unfortunately, my graph simply returns NaNs, with
> `rrdtool dump <file>` returning the same -- no useful data. My hope is
> that someone will spot an obvious flaw and may be able to help with this.
>
> rrdtool create host_1.rrd \
> --start 1225580613 -s 60 \
> DS:min:GAUGE:120:U:U \
> DS:avg:GAUGE:120:U:U \
> DS:max:GAUGE:120:U:U \
> DS:dev:GAUGE:120:U:U \
> DS:avl:GAUGE:120:U:U \
So you've set your heartbeat to 120 seconds.
> rrdtool update host_1.rrd 1225580613:161.429:163.724:167.428:2.055:100
> rrdtool update host_1.rrd 1225581006:159.928:161.264:163.551:1.513:100
> rrdtool update host_1.rrd 1225581366:160.575:163.766:165.816:1.926:100
> rrdtool update host_1.rrd 1225582026:159.407:161.301:163.695:1.926:100
> rrdtool update host_1.rrd 1225582686:159.901:161.596:164.051:1.879:100
> rrdtool update host_1.rrd 1225583106:159.436:161.427:164.972:2.233:100
But it appears all of your updates are more than 120 seconds apart.
--
Darren
More information about the rrd-users
mailing list