Module: check_mk
Branch: master
Commit: a257b8a13f0ca79bdf58ae6701ac7ce0aa2a6b23
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a257b8a13f0ca7…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Feb 8 09:53:33 2016 +0100
fixed perfdata
---
checks/wlc_clients.include | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/wlc_clients.include b/checks/wlc_clients.include
index 1379001..9e8fa75 100644
--- a/checks/wlc_clients.include
+++ b/checks/wlc_clients.include
@@ -47,7 +47,7 @@ def check_wlc_clients(item, params, parsed):
num_conns, interface = parsed[item]
state = 0
infotext = "%d connections" % num_conns
- perfdata = [("conns", num_conns)]
+ perfdata = [("connections", num_conns)]
if interface:
infotext += " (%s)" % interface
if params:
@@ -59,7 +59,7 @@ def check_wlc_clients(item, params, parsed):
elif num_conns >= warn:
state = 1
- perfdata = [("conns", num_conns, warn, crit)]
+ perfdata = [("connections", num_conns, warn, crit)]
elif params.get("levels_lower", None):
warn_low, crit_low = params["levels"]