Module: check_mk
Branch: master
Commit: b34a252fddbb787751968df795cca4483f5a56ca
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b34a252fddbb78…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Jul 13 10:57:41 2017 +0200
Revert "4971 FIX cups_queues: Fixed crash if agent output is empty or item not
found"
This reverts commit a9575c5505e48d9bec40df8d874677f1a50b19a3.
---
.werks/4971 | 10 ----------
checks/cups_queues | 4 ----
2 files changed, 14 deletions(-)
diff --git a/.werks/4971 b/.werks/4971
deleted file mode 100644
index 42353d3..0000000
--- a/.werks/4971
+++ /dev/null
@@ -1,10 +0,0 @@
-Title: cups_queues: Fixed crash if agent output is empty or item not found
-Level: 1
-Component: checks
-Compatible: compat
-Edition: cre
-Version: 1.5.0i1
-Date: 1499933436
-Class: fix
-
-
diff --git a/checks/cups_queues b/checks/cups_queues
index 795844d..972abcb 100644
--- a/checks/cups_queues
+++ b/checks/cups_queues
@@ -96,10 +96,6 @@ def inventory_cups_queues(parsed):
yield item, {}
def check_cups_queues(item, params, parsed):
- if item not in parsed:
- yield 3, "Item not found in agent data"
- return
-
data = parsed[item]
if type(params) == tuple and len(params) == 4:
params = {"job_count" : (params[0], params[1]),