Module: check_mk
Branch: master
Commit: c95d5edbcc8f53e6845453a368bb33250e681595
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c95d5edbcc8f53…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Dec 16 16:08:51 2015 +0100
ibm_imm_temp: Not longer add sensors without reading
---
checks/ibm_imm_temp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/ibm_imm_temp b/checks/ibm_imm_temp
index 32efd1c..e62ef02 100644
--- a/checks/ibm_imm_temp
+++ b/checks/ibm_imm_temp
@@ -26,7 +26,8 @@
def inventory_ibm_imm_temp(info):
for line in info:
- yield line[0], {}
+ if line[1] != '0':
+ yield line[0], {}
def check_ibm_imm_temp(item, params, info):
for line in info: