[rrd-users] rrdtool update works, but data is never put into rra

Matthew Sacks ntwrkd at gmail.com
Fri Jan 9 22:12:41 CET 2009


rrdtool version:
[msacks at tl1rad718 ~]$ /usr/bin/rrdtool
RRDtool 1.2.23  Copyright 1997-2007 by Tobias Oetiker <tobi at oetiker.ch>
              Compiled Jun  7 2007 00:19:10

Please help!:


i have executed the following command:
 /usr/bin/rrdtool update
/usr/local/cacti/cacti-0.8.7b/rra/tl1rap901_cmemds1_10.rrd --template
CMemDS1 1231532052:1736




however, when looking into the rra, all i get are NaN's.
any suggestions on how to fix this?


here is what the file looks like if i remove the NaN's (this message
would be huge if I include them:

/usr/bin/rrdtool dump
/user/local/cacti/cacti-0.8.7b/rra/tl1rap901_cmemds1_10.rrd | grep -v
NaN
<!-- Round Robin Database Dump --><rrd>	<version> 0003 </version>
	<step> 300 </step> <!-- Seconds -->
	<lastupdate> 1231534802 </lastupdate> <!-- 2009-01-09 13:00:02 PST -->

	<ds>
		<name> CMemDS1 </name>
		<type> GAUGE </type>
		<minimal_heartbeat> 600 </minimal_heartbeat>
		<min> 0.0000000000e+00 </min>

		<!-- PDP Status -->
		<last_ds> U </last_ds>
		<unknown_sec> 2 </unknown_sec>
	</ds>

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

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> AVERAGE </cf>
		<pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> AVERAGE </cf>
		<pdp_per_row> 6 </pdp_per_row> <!-- 1800 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> AVERAGE </cf>
		<pdp_per_row> 24 </pdp_per_row> <!-- 7200 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 12 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> AVERAGE </cf>
		<pdp_per_row> 288 </pdp_per_row> <!-- 86400 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 252 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> MAX </cf>
		<pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> MAX </cf>
		<pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> MAX </cf>
		<pdp_per_row> 6 </pdp_per_row> <!-- 1800 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 0 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> MAX </cf>
		<pdp_per_row> 24 </pdp_per_row> <!-- 7200 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 12 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
	<rra>
		<cf> MAX </cf>
		<pdp_per_row> 288 </pdp_per_row> <!-- 86400 seconds -->

		<params>
		<xff> 5.0000000000e-01 </xff>
		</params>
		<cdp_prep>
			<ds>
			<unknown_datapoints> 252 </unknown_datapoints>
			</ds>
		</cdp_prep>
		<database>
		</database>
	</rra>
</rrd>



More information about the rrd-users mailing list