Module: check_mk
Branch: master
Commit: b34b3fbff612c1fdc5648529eb524401be2a24de
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b34b3fbff612c1…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Mar 13 13:47:16 2017 +0100
dhcp_pools: adapted levels handling to our convention
Change-Id: I2ac661743f4a9acfb5ff7cc83992cf333d6b5f48
---
checks/dhcp_pools.include | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/dhcp_pools.include b/checks/dhcp_pools.include
index e348b2c..ba09260 100644
--- a/checks/dhcp_pools.include
+++ b/checks/dhcp_pools.include
@@ -62,9 +62,9 @@ def check_dhcp_pools_levels(free, used, pending, size, params):
warn_abs = warn
crit_abs = crit
- if value <= crit:
+ if value < crit:
state = 2
- elif value <= warn:
+ elif value < warn:
state = 1
if state: