4.3.0 RC1 - rrddefinitions.cfg suggestion
Henrik,
Would it be possible to add support for other rrdtool create options in the rrddefinitions.cfg file?
I'd like to be able to specify a different step for certain tests. Like
[http] --step 60 RRA:AVERAGE:0.5:1:1440 RRA:AVERAGE:0.5:5:576 RRA:AVERAGE:0.5:30:576 RRA:AVERAGE:0.5:120:576 RRA:AVERAGE:0.5:1440:576
This would let me zoom in on the graph down to the minute which helps in quickly identifying when problems start and you have to dig through mountains of logs for the precise moment, also I've found when using drraw to create aggregated graphs for dashboards it gives it more of an up to the minute view of your systems rather then a 5 minute lag time.
I use to do this by creating the rrds manually on the 4.2.x code base, but it would be great if I could just specify it in the rrddefinitions.cfg. The rrd step is just one of those items you can't tune after its been created without dumping to xml first, creating a new rrd container, then importing the data back.
-- Brian Majeska
In <AANLkTimtKTN84jD=6z7U4321TAb807eAHAz+1MAjJscA at mail.gmail.com> Brian Majeska <brian at majeska.com> writes:
Would it be possible to add support for other rrdtool create options in the rrddefinitions.cfg file?
I'd like to be able to specify a different step for certain tests.
The RC1 allows you to add any "rrdcreate" option you like, except the --step/-s options since this is always provided by Xymon.
I've enhanced the code, so if there is a --step/-s option in the definitions you have listed in rrddefinitions.cfg, it will be used instead of the normal "--step 300".
Regards, Henrik
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,.rrd: unknown option '--step 60'
However it Does work when I use: -s 60
Thank you for adding this feature!
-- Brian Majeska
On Sat, Feb 5, 2011 at 2:30 AM, Henrik Størner <henrik at hswn.dk> wrote:
In <AANLkTimtKTN84jD=6z7U4321TAb807eAHAz+1MAjJscA at mail.gmail.com> Brian Majeska <brian at majeska.com> writes:
Would it be possible to add support for other rrdtool create options in the rrddefinitions.cfg file?
I'd like to be able to specify a different step for certain tests.
The RC1 allows you to add any "rrdcreate" option you like, except the --step/-s options since this is always provided by Xymon.
I've enhanced the code, so if there is a --step/-s option in the definitions you have listed in rrddefinitions.cfg, it will be used instead of the normal "--step 300".
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
In <AANLkTikr693iyCLk_kVro38SrEhQCvJ5Cw1X8pP-Dj29 at mail.gmail.com> Brian Majeska <brian at majeska.com> 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
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 <tobi at oetiker.ch>
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 <henrik at hswn.dk> wrote:
In <AANLkTikr693iyCLk_kVro38SrEhQCvJ5Cw1X8pP-Dj29 at mail.gmail.com> Brian Majeska <brian at majeska.com> 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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (2)
-
brian@majeska.com
-
henrik@hswn.dk