From: Florian Forster Date: Thu, 13 Dec 2012 08:55:04 +0000 (+0100) Subject: src/types.db: Remove the maximum value from "timeleft". X-Git-Tag: collectd-5.1.2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d5b09f2bb673ac9396da52b85bcbd16c98b3d633;p=collectd.git src/types.db: Remove the maximum value from "timeleft". --- diff --git a/src/apcups.c b/src/apcups.c index 4fbbde63..137c0f2f 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -450,7 +450,7 @@ static int apcups_read (void) apcups_detail.battv = -1.0; apcups_detail.loadpct = -1.0; apcups_detail.bcharge = -1.0; - apcups_detail.timeleft = -1.0; + apcups_detail.timeleft = NAN; apcups_detail.itemp = -300.0; apcups_detail.linefreq = -1.0; diff --git a/src/types.db b/src/types.db index ed27b785..a9b8b783 100644 --- a/src/types.db +++ b/src/types.db @@ -153,7 +153,7 @@ tcp_connections value:GAUGE:0:4294967295 temperature value:GAUGE:-273.15:U threads value:GAUGE:0:U time_dispersion value:GAUGE:-1000000:1000000 -timeleft value:GAUGE:0:3600 +timeleft value:GAUGE:0:U time_offset value:GAUGE:-1000000:1000000 total_bytes value:DERIVE:0:U total_connections value:DERIVE:0:U