[rrd-users] xport timezones
Hi, I have some question about rrd and xport tool It output lines like this: rowt1020611700/tv3.40e+00/vv5.44e+01/v/row I want to know if the time row (1020611700 in this example) is related to unix timestamp (1970-01-01 00:00:00 UTC)? Is it always UTC? Another question: Inside the rrdfile, are the times stored related to UTC? If I get a filename.rrd in a machine with localtime -0400 and copy it to another machine with localtime -0300, will the output of rrdtool xport be the same? Thanks in advance, Pedro -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Help on listing available DEF fields
Hi, I am new to RRD and have a problem that I think is simple (well, for me it seems simple, but I could find no answer :-) I already have some SNMP machines sending data to MRTG that stores in RRD (this environment was already implemented, but I did not implement anything). Now I need to get data from RRD to use in shell/perl scripts. Reading RRD manpages, I discovered that this can be done with: rrdtool xport \ --start now-1h --end now \ DEF:xx=host-inout.lo.rrd:output:AVERAGE \ DEF:yy=host-inout.lo.rrd:input:AVERAGE \ XPORT:xx:out bytes \ XPORT:yy:in bytes I'd like to know what can I put in host-inout.lo.rrd:output field for all the computers and all the interfaces. Is seems to be a field specification. Is there any way to list all available fields in RRD database? Thanks in advance, Pedro -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: Help on listing available DEF fields
On Thu, Apr 14, 2005 at 04:40:09PM +0200, Serge Maandag wrote: Is there any way to list all available fields in RRD database? Yes, rrdtool info file.rrd | grep type Serge. Thanks for your answers. Now another related question, I hope this is the last one :-) rddtool info returned me the data below, can you give me a sample command to use xport to retrieve the data in this file? I couldn't imagine how to find a DEF parameter for this info. Thanks, Pedro filename = 172.20.254.1_1.rrd rrd_version = 0001 step = 300 last_update = 1113490960 ds[ds0].type = COUNTER ds[ds0].minimal_heartbeat = 600 ds[ds0].min = 0.00e+00 ds[ds0].max = 7.60e+04 ds[ds0].last_ds = 1854409829 ds[ds0].value = 4.44e+04 ds[ds0].unknown_sec = 0 ds[ds1].type = COUNTER ds[ds1].minimal_heartbeat = 600 ds[ds1].min = 0.00e+00 ds[ds1].max = 7.60e+04 cut rra[0].cf = AVERAGE rra[0].rows = 800 rra[0].pdp_per_row = 1 rra[0].xff = 5.00e-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 = AVERAGE rra[1].rows = 800 rra[1].pdp_per_row = 6 rra[1].xff = 5.00e-01 cut (rra goes up to rra[6]) -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi