Module: check_mk
Branch: master
Commit: 4ff1e20bf20e297c3be8ddb01e7d6326b870e3d6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4ff1e20bf20e29…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 22 11:19:27 2016 +0200
3435 FIX check_varnish_uptime: Fixed broken check
---
.werks/3435 | 9 +++++++++
ChangeLog | 1 +
checks/varnish | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3435 b/.werks/3435
new file mode 100644
index 0000000..288fc0c
--- /dev/null
+++ b/.werks/3435
@@ -0,0 +1,9 @@
+Title: check_varnish_uptime: Fixed broken check
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.9i1
+Date: 1461316750
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index fb3a4b8..e52ad93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -174,6 +174,7 @@
* 3392 FIX: avaya_45xx_temp: Fixed broken check
* 3433 FIX: cmc_temp: Fixed broken check
* 3434 FIX: cmctc_lcp: Fixed broken check in case parameter are specified
+ * 3435 FIX: check_varnish_uptime: Fixed broken check
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/varnish b/checks/varnish
index a73dd46..37ed762 100644
--- a/checks/varnish
+++ b/checks/varnish
@@ -279,7 +279,7 @@ def inventory_varnish_uptime(parsed):
def check_varnish_uptime(_no_item, _no_params, parsed):
if "uptime" in parsed:
- return check_uptime_seconds(params, parsed["uptime"][0])
+ return check_uptime_seconds(_no_params, parsed["uptime"][0])
check_info["varnish"] = {