Module: check_mk
Branch: master
Commit: 69d911af409be21e7671762ad0c0bebaab28943b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=69d911af409be2…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 14 01:00:23 2013 +0200
Updated bug entries #0938
---
.bugs/938 | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.bugs/938 b/.bugs/938
index e115d35..9e4227f 100644
--- a/.bugs/938
+++ b/.bugs/938
@@ -1,11 +1,14 @@
Title: snmp check without inventory
Component: checks
-State: open
+Class: bug
+State: done
Date: 2013-09-10 15:06:00
Targetversion: 1.2.3i2
-Class: bug
The snmp_scan_function needs to be set in order to
complete a cmk -II call. Otherwise the inventory process
exits with Sorry. No inventory possible for check type etherbox_dew
and other checks are skipped
+
+2013-10-14 01:00:17: changed state open -> done
+Fixed.
Module: check_mk
Branch: master
Commit: f87e074af3ec264689d08fe77c4db17f67a32f01
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f87e074af3ec26…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 14 01:07:12 2013 +0200
Updated bug entries #0959
---
.bugs/959 | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.bugs/959 b/.bugs/959
index 86aaea5..f5aa041 100644
--- a/.bugs/959
+++ b/.bugs/959
@@ -1,13 +1,10 @@
-Title: Livestatus/Nagios Core crashes, if nagios.log is not accessible
+Title: Livestatus/Nagios Core crashes, if nagios.log is too large
Component: livestatus
State: open
Date: 2013-08-08 11:30:12
Targetversion: future
Class: bug
-vermutlich ist das die falsche Mailadresse, um Vorschläger oder Probleme
-zu melden. Aber ich habe keine passende(re) gefunden.
-
In Benutzung war: Nagios 3.3, Check_MK check_mk-1.2.2p2 sowie
mk-livestatus-1.2.2p2 auf einem Centos 5.5.
@@ -23,3 +20,8 @@ Fehlermeldung bzw. ein Eintrag in der Dokumentation angepasst werden
könnten. Der Fehler ist in gewisser Weise selbst verschuldet, jedoch war
es nicht leicht, die Ursache zu finden.
+Lösung: Eventuell müssen wir die maximale Anzahl von Logzeilen,
+die wir untersuchen, beschränken. Wenn man z.B. sagt max.
+5 Mio Zeilen festlegt, dann sind dass etwa 500 MB Dateigröße.
+Das ganze könnte konfigurierbar sein, analog zu den schon
+vorhandenen Caching-Optionen.
Module: check_mk
Branch: master
Commit: d3922e17d08c714b903ee649eae47db15c0c1650
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d3922e17d08c71…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 14 01:01:01 2013 +0200
FIX: continue inventory, if one check does not support it
---
ChangeLog | 1 +
modules/check_mk.py | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fcf96ea..bd166d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
Core:
* FIX: inventory check now honors settings for exit code
* FIX: avoid exception nodes of cluster have different agent type
+ * FIX: continue inventory, if one check does not support it
Multisite:
* Speed-O-Meter: now measure only service checks. Host checks
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 990303f..9602144 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -381,8 +381,9 @@ except Exception, e:
# those checks that do not support inventory. It must be known before
# we read in all the checks
def no_inventory_possible(checkname, info):
- sys.stderr.write("Sorry. No inventory possible for check type %s.\n" % checkname)
- sys.exit(3)
+ if opt_verbose:
+ sys.stdout.write("%s does not support inventory. Skipping it.\n" % checkname)
+ return []
# +----------------------------------------------------------------------+