From 19df47dd644a34ef6d82c6c21bf026aff0979700 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 29 Mar 2000 03:44:40 +0000 Subject: [PATCH] changed rrdtool update to command to use N for current time instead of timestamp of message. Remote system time variances can cause data lose --- contrib/plugins/spong-server/data_rrd_disk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: $@"); } } -- 2.30.2