From: Stephen L Johnson Date: Wed, 29 Mar 2000 03:44:40 +0000 (+0000) Subject: changed rrdtool update to command to use N for current time instead of timestamp... X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19df47dd644a34ef6d82c6c21bf026aff0979700;p=spong.git changed rrdtool update to command to use N for current time instead of timestamp of message. Remote system time variances can cause data lose --- diff --git a/contrib/plugins/spong-server/data_rrd_disk b/contrib/plugins/spong-server/data_rrd_disk index 2fb5c6b..dfe0a78 100755 --- a/contrib/plugins/spong-server/data_rrd_disk +++ b/contrib/plugins/spong-server/data_rrd_disk @@ -68,7 +68,7 @@ sub data_rrd_disks { local $SIG{'CHLD'} = 'IGNORE'; system "$RRDTOOL update $RRDDIR/$host/disk-$target.rrd " . - "$time:$pct:$used"; + "N:$pct:$used"; if ($@) { &error("Error: rrdtool update: $@"); } }