]> git.etc.gen.nz Git - spong.git/commitdiff
changed rrdtool update to command to use N for current time instead of timestamp...
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 29 Mar 2000 03:44:40 +0000 (03:44 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 29 Mar 2000 03:44:40 +0000 (03:44 +0000)
contrib/plugins/spong-server/data_rrd_disk

index 2fb5c6b248dd6116c2141b724f6f4b2a479c7db2..dfe0a785f226b47f69408f3685bc7fcf396e11d2 100755 (executable)
@@ -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: $@"); }
         }