Module: check_mk
Branch: master
Commit: 72e93b2cceec3a31dd4ceae4da335fac078e60dc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72e93b2cceec3a…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Wed May 4 08:17:39 2011 +0200
typo fixed that broke the whole check
---
checks/f5_bigip_pool | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/f5_bigip_pool b/checks/f5_bigip_pool
index 7e61daa..69086bc 100644
--- a/checks/f5_bigip_pool
+++ b/checks/f5_bigip_pool
@@ -50,9 +50,9 @@ def check_f5_bigip_pool(item, _no_params, info):
return (0, "OK - all members online")
elif pool_act_members > 1:
return (1, "WARN - only %i of %i pool members are up" %
(pool_act_members, pool_def_members))
- elif pool_members == 1:
+ elif pool_act_members == 1:
return (2, "CRIT - only 1 pool member left")
- elif pool_members == 0:
+ elif pool_act_members == 0:
return (2, "CRIT - no pool members left")
else:
return (3, "UNKNOWN output for pool %s" % item)