Module: check_mk
Branch: master
Commit: 97c8c01ddb7f907cb5c2e2a99d5d67a7f1d5cdde
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=97c8c01ddb7f90…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 27 11:03:39 2010 +0200
Fixed small coding error in megaraid_pdisks
---
ChangeLog | 4 ++--
checks/megaraid_pdisks | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a771acb..b2d9a24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,8 +16,8 @@
%u. That will be replaced with the user name and thus makes the
service description unique.
* win_dhcp_pools: better handle invalid agent output
- * hp_proliant_psu: Fixed multiple PSU detection on one system (Thanks to
- Andreas Döhler)
+ * hp_proliant_psu: Fixed multiple PSU detection on one system (Thanks to Andreas Döhler)
+ * megaraid_pdisks: Fixed coding error
Livestatus:
* Prohibit { and } in regular expressions. This avoids a segmentation
diff --git a/checks/megaraid_pdisks b/checks/megaraid_pdisks
index d327fca..4e2b0db 100644
--- a/checks/megaraid_pdisks
+++ b/checks/megaraid_pdisks
@@ -51,6 +51,7 @@ def check_megaraid_pdisks(item, target_state, info):
# item is "$ENCLOSURE/$SLOT"
# param is the target state
for line in info:
+ found = None
if line[0] == "Enclosure":
enclosure = int(line[-1])
elif line[0] == "Slot":
Module: check_mk
Branch: master
Commit: 4682884a53fb8b4072984fa740fb42b5782f9e46
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4682884a53fb8b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 26 17:44:20 2010 +0200
Updated internal doku
---
LIESMICH.zutun | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/LIESMICH.zutun b/LIESMICH.zutun
index 815e2f4..3c11e35 100644
--- a/LIESMICH.zutun
+++ b/LIESMICH.zutun
@@ -3,9 +3,52 @@ BUGS beheben bis => 1.1.8
--------------------------------------------------------------------------------
CHECK_MK:
+bei den Server Perf Werten "Com. buf. max.total" wird nicht der eigene
+sonderen einer der anderen sites angezeigt,
+Eigentlich: es sollte (meiner Meinung nach) addiert werden oder evtl.
+auch das MAX genommen werden. Oder ganz rausfliegen. Es muss unbedingt
+konsisten mit den übrigen werden sein.
+
--------------------------------------------------------------------------------
BUGS beheben ab 1.1.9i1
--------------------------------------------------------------------------------
+win_dhcp_pools sendet:
+[['MIBCounts:'],
+ ['Discovers', '=', '193.'],
+ ['Offers', '=', '193.'],
+ ['Delayed', 'Offers', '=', '0.'],
+ ['Requests', '=', '14540.'],
+ ['Acks', '=', '11767.'],
+ ['Naks', '=', '2.'],
+ ['Declines', '=', '0.'],
+ ['Releases', '=', '39.'],
+ ['ServerStartTime', '=', '26', 'June', '2010', '04:47:49'],
+ ['Scopes', '=', '1.'],
+ ['Scopes', 'with', 'Delay', 'configured=', '0.'],
+ ['Subnet', '=', '10.3.108.0.'],
+ ['No.', 'of', 'Addresses', 'in', 'use', '=', '40.'],
+ ['No.', 'of', 'free', 'Addresses', '=', '150.'],
+ ['No.', 'of', 'pending', 'offers', '=', '0.']]
+Besser: = als Trenner nehmen, dann ist das parsen einfacher.
+
+ich bin mir nicht sicher ob das nun ein Thruk Problem oder ein Livestatus Problem ist. Vermutlich beides :-)
+Wenn ich im Thruk im Suchfenster einfach Enter drücke, kommt folgende Query bei raus:
+GET services
+Columns: ..
+Filter: description ~~
+Filter: groups >=
+Filter: plugin_output ~~
+Filter: long_plugin_output ~~
+Filter: host_name ~~
+Filter: host_alias ~~
+Filter: host_groups >=
+Filter: comments ~~
+Filter: downtimes ~~
+Or: 2
+Or: 8
+livestatus: Sorry, Operator 4 for lists not implemented.
+
+
Noch ein Problem mit Umlauten: Ein Drucker sendet per SNMP Latin1
kodierte Wert, z.B. Resttonerbehälter. Daraus baut Check_MK eine
Servicedesription, die in nagios/conf.d/check_mk_objects.cfg ein
Module: check_mk
Branch: master
Commit: ba6d73e3dd44f5d4aa0b671cd2bd987fc5e9a228
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ba6d73e3dd44f5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 26 15:45:20 2010 +0200
Multisite: fix problem with group filter
---
ChangeLog | 2 ++
web/plugins/views/filters.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f870d05..a771acb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,6 +41,8 @@
spaces)
* Allow non-ASCII character in downtimes and comments
* Added nagvis_base_url to multisite.mk example configuration
+ * Filter for host/service groups: use name instead of alias if
+ user has no permissions for groups
1.1.8b3:
Core, Setup, etc.:
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index db384c7..b9ec53b 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -150,7 +150,7 @@ class FilterGroupCombo(Filter):
current_value = self.current_value(infoname)
if current_value:
alias = html.live.query_value("GET %sgroups\nColumns: alias\nFilter: name = %s\n" %
- (self.what, current_value))
+ (self.what, current_value), current_value)
return alias
Module: check_mk
Branch: master
Commit: a7622ad7c2da16819e413c71b0aec817357377e4
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a7622ad7c2da16…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 25 10:55:52 2010 +0200
Added nagvis_base_url to multisite.mk example configuration
---
ChangeLog | 1 +
multisite.mk | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3da991f..ec0eec2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@
* Fix links for items containing + (e.g. service descriptionen including
spaces)
* Allow non-ASCII character in downtimes and comments
+ * Added nagvis_base_url to multisite.mk example configuration
1.1.8b3:
Core, Setup, etc.:
diff --git a/multisite.mk b/multisite.mk
index a2abc6b..e66fa8e 100644
--- a/multisite.mk
+++ b/multisite.mk
@@ -34,6 +34,14 @@ admin_users = [ "nagiosadmin" ]
# },
# }
+#
+# NagVis
+#
+# The NagVis-Snapin needs to know the URL to nagvis.
+# This is not always /nagvis/ - especially not for OMD
+nagvis_base_url = '/nagvis'
+
+
# Restrict number of datasets queries via Livestatus.
# This prevents you from consuming too much ressources
# in case of insensible queries.