Module: check_mk
Branch: master
Commit: 48328413e8419888600af45c4eaa2a638250ce42
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=48328413e84198…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Feb 11 10:52:50 2013 +0100
Updated bug entries #0887
---
.bugs/887 | 9 +++++++++
.bugs/902 | 6 +++---
.bugs/903 | 16 ++++++++++++++++
.bugs/904 | 7 +++++--
.bugs/905 | 7 +++++++
.bugs/907 | 5 +++++
6 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/.bugs/887 b/.bugs/887
new file mode 100644
index 0000000..3b4b00f
--- /dev/null
+++ b/.bugs/887
@@ -0,0 +1,9 @@
+Title: Name regex groups in EC
+Component: ec
+State: open
+Date: 2013-02-11 10:51:28
+Targetversion: 1.2.2
+Class: feature
+
+A new config field "Regex group name" as a ListOfStrings.
+That way one can use \foo instead of \1 alternatively.
diff --git a/.bugs/902 b/.bugs/902
index ccc22ac..f57bf87 100644
--- a/.bugs/902
+++ b/.bugs/902
@@ -1,9 +1,9 @@
-Title: execute action but directly drop message afterwards
+Title: execute action but directly delete message afterwards
Component: ec
State: open
Date: 2013-01-31 11:13:50
Targetversion: 1.2.2
Class: feature
-We need to be able to execute actions but directly drop the message
-afterwards without creating an event from it.
+We need to be able to execute actions but directly delete the event
+afterwards.
diff --git a/.bugs/903 b/.bugs/903
index e0ec6ea..0016731 100644
--- a/.bugs/903
+++ b/.bugs/903
@@ -6,3 +6,19 @@ Targetversion: 1.2.2
Class: bug
When adding umlauts like ä to regex patterns, they do never match.
+
+Was machen wir eigentlich, wenn die Enkodierung der eingehenden
+Events nicht klar ist? Vorschlag:
+
+Wir kodieren grundsatzlich von UTF-8 nach intern Unicode. Dabei
+dann aufpassen, dass auch die Konfiguration der Regeln immer
+Unicode verwendet (nicht TextAscii, sondern TextUnicode()).
+
+Wenn beim Enkodieren ein Fehler auftritt, dann nehmen wir
+latin1 an (bzw. Einstellbar als globale Option).
+
+try:
+ text = text.decode('utf-8'
+except:
+ text = text.decode(conifg.ec_fallback_encoding)
+
diff --git a/.bugs/904 b/.bugs/904
index 2226d0b..5ad2898 100644
--- a/.bugs/904
+++ b/.bugs/904
@@ -1,8 +1,11 @@
Title: References like \1 \2 to regex groups do not work in "expect regular
messages" mode
Component: ec
-State: open
+Class: bug
+State: wontfix
Date: 2013-01-31 11:17:10
Targetversion: 1.2.2
-Class: bug
In this case, e.g. when rewriting the message text, it only shows \1 \2.
+
+2013-02-11 10:41:13: changed state open -> wontfix
+Obsolete through #905
diff --git a/.bugs/905 b/.bugs/905
index a830a7e..de05983 100644
--- a/.bugs/905
+++ b/.bugs/905
@@ -24,3 +24,10 @@ items.
Once a number (subpatter) is received for the first time, the expection counter
must start and raise an event for this single number if it has not been received
for about a minute.
+
+Loesung: Dies wird ausserhalb der EC geloest durch eine EC-Aktion, die
+von einer Regel aufgerufen wird, die auf obigen Text matcht. Diese fuegt
+autoamtisch eine neue EC-Regel direkt vor der Generator-Regel ein, die
+dann auf den speziellen Host wartet. Danach muss die EC neu geladen werden.
+Frage ist, ob das aus einer Aktion heraus sauber geht. Wahrscheinlich ja.
+
diff --git a/.bugs/907 b/.bugs/907
index 226cc5c..38540b5 100644
--- a/.bugs/907
+++ b/.bugs/907
@@ -10,3 +10,8 @@ Create a set of default rules, at least one rule which should remain as
above. When having a rule, it is possible to count the times this rule
was used to maybe define better "catch & drop" rules at the beginning
of the ruleset
+
+Solution: We create one rule with count(1) that create *one* open
+counting event per host. This rule is created if the file rules.mk
+does not exist when entering the event editor. This can simply be
+done in WATO: EC load_rules.