Restrict percent to one digit of precision.
I think this is what collectd wants after looking in types.db.
This commit is contained in:
parent
31108135a6
commit
67d2be7f9a
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ else:
|
|||
host=host,
|
||||
interval=interval,
|
||||
timestamp=int(timestamp),
|
||||
value=value)
|
||||
value="%0.1f" % value)
|
||||
print(output)
|
||||
if interval - delta > 0:
|
||||
time.sleep(interval - delta)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue