Module: check_mk
Branch: master
Commit: dd75a2051db55ab306afe598b824d94fccb359d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dd75a2051db55a…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Jun 22 15:45:34 2015 +0200
citrix_serverload: Fixed output precision
---
checks/citrix_serverload | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/citrix_serverload b/checks/citrix_serverload
index eb91205..1fb50be 100644
--- a/checks/citrix_serverload
+++ b/checks/citrix_serverload
@@ -48,7 +48,7 @@ def check_citrix_serverload(_no_item, params, info):
state = 2
elif load >= warn:
state = 1
- yield state, "Current Citrix Load is: " + str(load/100) + "%", [
('perf', load, warn, crit ) ]
+ yield state, "Current Citrix Load is: %.2f%%" % (load/100.0), [
('perf', load, warn, crit ) ]
check_info["citrix_serverload"] = {
"group" : "citrix_load",