Module: check_mk
Branch: master
Commit: 944babe61aebfde2593e72e958ad42aa6763a4e8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=944babe61aebfd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Aug 11 12:45:08 2011 +0200
FIX: handle usewalk, when OIDs at the end of the walks are used
---
modules/snmp.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/snmp.py b/modules/snmp.py
index de0ce2e..a7a165a 100644
--- a/modules/snmp.py
+++ b/modules/snmp.py
@@ -420,6 +420,12 @@ def get_stored_snmpwalk(hostname, oid):
def collect_until(index, direction):
rows = []
+ # Handle case, where we run after the end of the lines list
+ if index >= len(lines):
+ if direction > 0:
+ return []
+ else:
+ index -= 1
while True:
line = lines[index]
parts = line.split(None, 1)
Module: check_mk
Branch: master
Commit: 98cccd90f98510f6d6be39e27cfae97ab2fe5236
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=98cccd90f98510…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Aug 10 19:19:37 2011 +0200
Minor fix in check manpage of tcp_conn_stats
---
checkman/tcp_conn_stats | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checkman/tcp_conn_stats b/checkman/tcp_conn_stats
index 46ccdf0..d75ec26 100644
--- a/checkman/tcp_conn_stats
+++ b/checkman/tcp_conn_stats
@@ -12,7 +12,7 @@ perfdata:
inventory:
If there is at least one TCP connection, then one check will be created.
- On agents supporting {tcp_conn_state} this should always be the case since at
+ On agents supporting {tcp_conn_stats} this should always be the case since at
least the connection to the agent should be shown.
examples:
@@ -24,4 +24,4 @@ levels(dict from string to (int, int)): A python dictionary from check state to
[configuration]
tcp_conn_stats_default_levels (dict from string to (int, int)): default levels used for all
- inventorized checks. This might be renamed to tcp_conn_states_default_levels in the future.
+ inventorized checks.
Module: check_mk
Branch: master
Commit: 7d9913a960d5acfe851ad5b2c2d686232346324c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7d9913a960d5ac…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Aug 9 18:36:00 2011 +0200
Updated bug entries
---
.bugs/322 | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/.bugs/322 b/.bugs/322
new file mode 100644
index 0000000..8207c76
--- /dev/null
+++ b/.bugs/322
@@ -0,0 +1,33 @@
+Title: transid relativ zum Browserfenster machen
+Component: multisite
+Benefit: 1
+State: open
+Cost: 2
+Date: 2011-08-09 18:12:55
+Class: nastiness
+
+Ein Problem bei Multisite ist, dass in jedem Formular eine transid steckt,
+die vor Wiederholungen einer Aktion schützt. Diese macht Probleme, wenn
+man min mehreren Tabs gleichzeitig arbeitet oder der Benutzer generell
+mehrfach eingeloggt ist.
+
+Wir können es wie folgt umgehen:
+
+* Wenn irgendwo eine frische Transaktions-ID gebraucht wird,
+dann würfeln wir eine ausreichend zufällige aus (mindestens
+64 Bit). Davor hängen wir einen Zeitstempel.
+
+* Wenn eine Transaktions-ID *verbraucht* wird, dann hängen wir
+diese in eine Liste, die wir transid.mk persistieren.
+
+* Wenn wir eine Transaktions-ID *prüfen*, dann kontrollieren
+wir nur, ob sie in der Liste ist. Wenn nicht, ist sie gültig.
+Wenn sie zu alt ist (> 24h), dann ist sie aber immer ungültig.
+
+* Immer wenn wir die Liste speichern (i.e. nur nach dem
+verbrauchen), schmeißen wir alle Einträge raus, die älter
+als 24 Stunden sind. Diese können ja dann eh nicht mehr gültig
+sein.
+
+* Wenn die transid leer oder -1 ist, akzeptieren wir das immer
+(für die automatisierten Zugriffe).
Module: check_mk
Branch: master
Commit: 7f372991dca4c5543d96de7cd8c588005fd73bf8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7f372991dca4c5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Aug 9 18:03:41 2011 +0200
Updated bug entries
---
.bugs/114 | 10 +++++++---
.bugs/176 | 10 +++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/.bugs/114 b/.bugs/114
index d403d1c..71b581a 100644
--- a/.bugs/114
+++ b/.bugs/114
@@ -1,10 +1,14 @@
Title: Inventory of Windows services should support regex and host tags
Component: core
+State: wontfix
+Class: feature
+Date: 2011-01-30 13:03:57
Benefit: 1
-State: open
Cost: 2
-Date: 2011-01-30 13:03:57
-Class: feature
+Fun: 0
We could do this similar to ps. There should be a rule based variant
that supports host specific configuration as well as regular expressions.
+
+2011-08-09 18:03:24: changed state open -> wontfix
+We'll do it as described in bug #152.
diff --git a/.bugs/176 b/.bugs/176
index 8b166a4..629449e 100644
--- a/.bugs/176
+++ b/.bugs/176
@@ -1,9 +1,13 @@
Title: services check should support pattern for service names
Component: checks
+State: wontfix
+Class: feature
+Date: 2011-03-03 13:39:02
Benefit: 6
-State: open
Cost: 6
-Date: 2011-03-03 13:39:02
-Class: feature
+Fun: 0
The services check only supports exact match of service names in inventory_services. This should allow pattern match like in other check_mk config parts to make the service selection more flexible.
+
+2011-08-09 18:01:22: changed state open -> wontfix
+This is the same as bug #0114