Module: check_mk
Branch: master
Commit: 086a13b64c9b8e342f6c8c7811c51bb479327716
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=086a13b64c9b8e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 3 10:35:49 2015 +0100
Updated bug entries #2307, #2270
---
.bugs/2270 | 6 ++++--
.bugs/2307 | 26 ++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/.bugs/2270 b/.bugs/2270
index e0c5f5f..d7d6214 100644
--- a/.bugs/2270
+++ b/.bugs/2270
@@ -1,8 +1,10 @@
Title: Fix many WATO rules where above needs to be replaced with at
Component: checks
-State: open
+Class: bug
+State: done
Date: 2015-01-22 14:45:46
Targetversion: 1.2.6
-Class: bug
There is a commit (0470292ef?) that needs to be reverted.
+
+2015-03-02 14:32:52: changed state open -> done
diff --git a/.bugs/2307 b/.bugs/2307
new file mode 100644
index 0000000..f21a485
--- /dev/null
+++ b/.bugs/2307
@@ -0,0 +1,26 @@
+Title: Automatic removal of duplicate services SNMP vs. Agent can fail
+Component: core
+State: open
+Date: 2015-03-03 10:32:56
+Targetversion: 1.2.6
+Class: bug
+
+Situtation:
+
+Host is declared TCP + SNMP
+Discovery is done -> df and hr_fs checks for the same filesystems
+Duplicates are correctly removed
+
+Later the host is redeclared as TCP-only
+Checks hr_fs remain in autochecks
+
+get_check_table() now does *not* remove the duplicates since host_is_dual()
+does not hold anymore.
+Config generation runs into an exception because of duplicate checks.
+
+Proposed resolution: If a is is *not* snmp, get_check_table should
+remove *all* SNMP checks. Same holds for TCP.
+
+Note: This does change the semantics a bit but is more clean. A
+host cannot try to access an agent anymore if it is not tagged
+SNMP or TCP resp.