[rrd-users] AW: AW: rrdtool 1.2.9

Stern Andreas Andreas.Stern at lotterien.at
Mon May 30 07:24:40 MEST 2005


hi & good morning,

if that is the only impact, I could very well live with that, because I plan to use only newly created rrds.

thanks to all for the instant reply

cheers

A.



-----Ursprüngliche Nachricht-----
Von: Tobias Oetiker [mailto:oetiker at ee.ethz.ch]
Gesendet: Montag, 30. Mai 2005 07:20
An: Stern Andreas
Cc: rrd-users at list.ee.ethz.ch
Betreff: Re: [rrd-users] AW: rrdtool 1.2.9


Hi Andreas,

well you missed the bit where this would cause your rrd files to be
incompatible with all other rrd installations if you do that ...

cheers
tobi

Today Stern Andreas wrote:

> hi,
>
> needing long field names (31 Characters instead of 19).
>
> would the following be enough or did I miss something important?
>
> --- rrdtool-1.2.8/doc/rrdcreate.pod     2005-05-16 22:56:21.000000000 +0200
> +++ rrdtool-1.2.8_modi431/doc/rrdcreate.pod     2005-05-23 12:56:15.000000000 +0200
> @@ -46,7 +46,7 @@
>  properties of each data source you want to store in the B<RRD>.
>
>  I<ds-name> is the name you will use to reference this particular data
> -source from an B<RRD>. A I<ds-name> must be 1 to 19 characters long in
> +source from an B<RRD>. A I<ds-name> must be 1 to 31 characters long in
>  the characters [a-zA-Z0-9_].
>
>  I<DST> defines the Data Source Type. The remaining arguments of a
> diff -ur -x 'config*' -x Makefile rrdtool-1.2.8/src/rrd_format.h rrdtool-1.2.8_modi431/src/rrd_format.h
> --- rrdtool-1.2.8/src/rrd_format.h      2005-05-16 22:56:21.000000000 +0200
> +++ rrdtool-1.2.8_modi431/src/rrd_format.h      2005-05-23 12:45:34.000000000 +0200
> @@ -143,11 +143,11 @@
>                                            * expression only applies to DST_CDEF */
>
>  /* The magic number here is one less than DS_NAM_SIZE */
> -#define DS_NAM_FMT    "%19[a-zA-Z0-9_-]"
> -#define DS_NAM_SIZE   20
> +#define DS_NAM_FMT    "%31[a-zA-Z0-9_-]"
> +#define DS_NAM_SIZE   32
>
> -#define DST_FMT    "%19[A-Z]"
> -#define DST_SIZE   20
> +#define DST_FMT    "%31[A-Z]"
> +#define DST_SIZE   32
>
>  typedef struct ds_def_t {
>      char             ds_nam[DS_NAM_SIZE]; /* Name of the data source (null terminated)*/
> @@ -223,8 +223,8 @@
>                                         /* For CF_FAILURES, the length of the window for measuring
>                                          * failures. */
>
> -#define CF_NAM_FMT    "%19[A-Z]"
> -#define CF_NAM_SIZE   20
> +#define CF_NAM_FMT    "%31[A-Z]"
> +#define CF_NAM_SIZE   32
>
>  typedef struct rra_def_t {
>      char             cf_nam[CF_NAM_SIZE];/* consolidation function (null term) */
>
> --
>
> regards
>
> A.
>
> ------------------------------------------------------------------------------------
> Österreichische Lotterien Ges.m.b.H., Rennweg 44, 1038 Vienna, Austria
> Andreas Stern, Database Administration, Organization
> Phone: +(43) 1 790 70-5422, Fax: +(43) 1 790 72-5422
> http://www.lotterien.at
> ------------------------------------------------------------------------------------
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://lists.ee.ethz.ch/rrd-users
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list