Module: check_mk
Branch: master
Commit: 93450b732dfc1f95e1da785facd82f2a2a3c9d0c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=93450b732dfc1f…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Apr 15 11:13:16 2015 +0200
citrix_serverload: Fix interpretation of levels to comply with guidelines
---
checks/citrix_serverload | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/citrix_serverload b/checks/citrix_serverload
index 512f332..c2eac3a 100644
--- a/checks/citrix_serverload
+++ b/checks/citrix_serverload
@@ -40,9 +40,9 @@ def check_citrix_serverload(_no_item, params, info):
warn, crit = params
state = 0
- if load > crit:
+ if load >= crit:
state = 2
- elif load > warn:
+ elif load >= warn:
state = 1
return state, "Current Citrix Load is: " + str(load), [ ('perf',
load, warn, crit ) ]