Module: check_mk
Branch: master
Commit: 55dd549fdc88e80052952958ce6cb74950ec2b5d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=55dd549fdc88e8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 5 11:59:27 2012 +0200
Fix default levels type for hr_cpu (int->float)
---
checks/hr_cpu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/hr_cpu b/checks/hr_cpu
index 521b97d..0101b30 100644
--- a/checks/hr_cpu
+++ b/checks/hr_cpu
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-hr_cpu_default_levels = (80, 90)
+hr_cpu_default_levels = (80.0, 90.0)
def inventory_hr_cpu(info):
if len(info) >= 1:
return [(None, "hr_cpu_default_levels")]