Module: check_mk
Branch: master
Commit: 388c6872289edb34af8d6be50950228d115eb004
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=388c6872289edb…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Jul 12 11:49:14 2017 +0200
akcp_sensor.include: Remove exceeding levels in perfdata
Change-Id: I83dd0de804ee81de387f97d9a54de73b7dd909d0
---
checks/akcp_sensor.include | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/akcp_sensor.include b/checks/akcp_sensor.include
index d97a65b..dc84be2 100644
--- a/checks/akcp_sensor.include
+++ b/checks/akcp_sensor.include
@@ -102,8 +102,7 @@ def check_akcp_humidity(item, params, info):
belowtext = " (warn/crit at %.1f/%.1f%%)" % (warn_lower,
crit_lower)
abovetext = " (warn/crit at %.1f/%.1f%%)" % (warn, crit)
- # TODO: This is not how the API works!
- perfdata = [ ( "humidity", humidity, crit_lower, warn_lower, warn,
crit ) ]
+ perfdata = [ ( "humidity", humidity, warn, crit ) ]
if humidity <= crit_lower:
return 2, infotext + belowtext, perfdata