Revert "I think collectd wants a 0-1 value here."

This reverts commit ada9ebb22e.
This commit is contained in:
Ralph Bean 2015-04-23 01:58:31 +00:00
parent ada9ebb22e
commit 8fbd6cabff

View file

@ -96,8 +96,8 @@ def do_scan():
info(" total active: %i\n" % active_n_total)
info("total inactive: %i\n" % inactive_n_total)
value = float(active_n_total) / (active_n_total + inactive_n_total)
info("percent active: %%%0.1f\n" % (100 * value))
value = 100 * float(active_n_total) / (active_n_total + inactive_n_total)
info("percent active: %%%0.1f\n" % value)
return value
if not for_collectd: