make timestamp integer
[gnt-info] / gnt-monitor
index 2d29a11..b0333a2 100755 (executable)
@@ -162,7 +162,7 @@ sub dump4influx {
 
 open(my $fh, '>', '/dev/shm/gnt-monitor.influx');
 
-my $t = time() * 1000_000_000;
+my $t = int( time() * 1000_000_000 );
 
 foreach my $instance ( keys %$stat ) {