Xymon Mailing List Archive search

4.3.0 RC1 - rrddefinitions.cfg suggestion

list Brian Majeska
Tue, 8 Feb 2011 08:04:40 -0800
Message-Id: <AANLkTikvxvqQk9JZzEdn8BPNTUpjheO6iK5_90AX=user-5b1e32f923e0@xymon.invalid>

Yes, my rrdtool create works.  Let me know if you need me to
test/check anything else?

# rpm -qa | grep rrdtool
rrdtool-1.2.27-3.el5
rrdtool-1.2.27-3.el5
rrdtool-perl-1.2.27-3.el5

# rrdtool version
RRDtool 1.2.27  Copyright 1997-2008 by Tobias Oetiker <user-645e379b3ab6@xymon.invalid>

#  rrdtool create temperature.rrd --step 60 \
DS:temp:GAUGE:600:-273:5000 \
RRA:AVERAGE:0.5:1:1200
# rrdtool info temperature.rrd
filename = "temperature.rrd"
rrd_version = "0003"
step = 60
last_update = 1297180864
ds[temp].type = "GAUGE"
ds[temp].minimal_heartbeat = 600
ds[temp].min = -2.7300000000e+02
ds[temp].max = 5.0000000000e+03
ds[temp].last_ds = "UNKN"
ds[temp].value = 0.0000000000e+00
ds[temp].unknown_sec = 4
rra[0].cf = "AVERAGE"
rra[0].rows = 1200
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

--
Brian Majeska


On Mon, Feb 7, 2011 at 1:19 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-d0fb06a765c8@xymon.invalid> Brian Majeska <user-9d2a2209229f@xymon.invalid> writes:
Found a bug.  I got the following error in the rrd-status.log when
testing the '--step 60' option:
2011-02-07 09:40:48 RRD error creating
/local/xymon/data/rrd/sha.ipac.caltech.edu/tcp.http.sha.ipac.caltech.edu,.r=
rd:
unknown option '--step 60'
However it Does work when I use: -s 60
Could you check if your "rrdcreate" command supports the "--step"
option ? Xymon just passes this verbatim to the rrdtool library,
which uses the same option syntax as the command line tools.
So this error message actually comes from the RRDtool library.


Regards,
Henrik