[rrd-users] GAUGE negative values

Pablo Sanchez pablo at blueoakdb.com
Mon Jun 29 17:54:36 CEST 2009


[ Comments below, in line ]

On Monday 29 June 2009 at 11:41 am, R Dicaire penned
about "[rrd-users] GAUGE negative values"

> If I understand the documentation correctly, type GAUGE cannot have
> negative values input into the rrd database?
> 

Howdy,

Adding to what Tobi said, yes GAUGE has no issues with negative
values.  Below is an excerpt of my RRD creation.  I think the metrics
are obvious.  :)

   rrdtool create $GENERAL_FILE --step $COLLECTION_INTERVAL_5M \
      DS:temperature:GAUGE:$UNKNOWN_5M:-90:80 \
      DS:humidity:GAUGE:$UNKNOWN_5M:0:100 \
      DS:barometer:GAUGE:$UNKNOWN_5M:700:1050 \
      DS:daily_rain:GAUGE:$UNKNOWN_5M:0:1000 \
      DS:wind_chill:GAUGE:$UNKNOWN_5M:-100:1.67 \
      DS:humidex:GAUGE:$UNKNOWN_5M:9:80 \
      DS:dew_point:GAUGE:$UNKNOWN_5M:-100:80 \

Cheers,
-- 
Pablo Sanchez - Blueoak Database Engineering, Inc
Ph:    819.459.1926      Fax:   760.860.5225 (US)



More information about the rrd-users mailing list