Browse code

FIX: Cpu mod: type conversion

Cinan Rakosnik authored on 16/12/2012 at 12:12:20
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ module Rubysermon
22 22
 		end
23 23
 
24 24
 		def notify?
25
-			@cpu_load >= @options[:notify_threshold].to_i
25
+			@cpu_load >= @options[:notify_threshold].to_f
26 26
 		end
27 27
 
28 28
 		def graph_labels