Module: check_mk
Branch: master
Commit: cbbfca5aeb4cd82a866f226e756e60bdebb06950
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cbbfca5aeb4cd8…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jun 3 14:43:07 2015 +0200
#2305 FIX agent_vsphere, esx_vsphere_sensors: now able to handle sensor names with semicolon
The esx_vsphere_sensors check crashed when there was a semicolon in the sensor name
E.g. <tt>Controller 500605B002DB9F70 (ServeRAID M5015 SAS/SATA Controller) n/a (Package); 12.7.0-0020 (Fw)</tt>
---
.werks/2305 | 12 ++++++++++++
ChangeLog | 1 +
agents/special/agent_vsphere | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/2305 b/.werks/2305
new file mode 100644
index 0000000..5d81b40
--- /dev/null
+++ b/.werks/2305
@@ -0,0 +1,12 @@
+Title: agent_vsphere, esx_vsphere_sensors: now able to handle sensor names with semicolon
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i2
+Date: 1433335253
+
+The esx_vsphere_sensors check crashed when there was a semicolon in the sensor name
+E.g. <tt>Controller 500605B002DB9F70 (ServeRAID M5015 SAS/SATA Controller) n/a (Package); 12.7.0-0020 (Fw)</tt>
+
diff --git a/ChangeLog b/ChangeLog
index c37dd47..5126fe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* 2117 postfix_mailq: agent and check now retrieve and monitor active queue data as well
* 2325 oracle_tablespaces: correctly handle case where check runs in clustered mode...
* 2323 FIX: df: Fix new graphs for all filesystem checks in case of existing inode information
+ * 2305 FIX: agent_vsphere, esx_vsphere_sensors: now able to handle sensor names with semicolon...
Multisite:
* 2260 Improved load time of Check_MK GUI...
diff --git a/agents/special/agent_vsphere b/agents/special/agent_vsphere
index 156e329..84f97eb 100755
--- a/agents/special/agent_vsphere
+++ b/agents/special/agent_vsphere
@@ -919,7 +919,7 @@ if not error:
data = hostsystems_sensors[hostname][key]
if data["key"] in ["green", "unknown"]:
continue
- line = '%s;%s;%s;%s;%s;' % (data["name"], data["baseUnits"], data["currentReading"],
+ line = '%s;%s;%s;%s;%s;' % (data["name"].replace(";", "_"), data["baseUnits"], data["currentReading"],
data["sensorType"], data["unitModifier"])
if "rateUnits" in data:
line += data["rateUnits"]
Module: check_mk
Branch: master
Commit: e5c984de73fec2997e12c2f4c916340446e05980
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5c984de73fec2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jun 3 12:00:35 2015 +0200
Fixed mkeventd naming in different places
---
mkeventd/web/plugins/wato/mkeventd.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/mkeventd/web/plugins/wato/mkeventd.py b/mkeventd/web/plugins/wato/mkeventd.py
index 8e486f6..928691a 100644
--- a/mkeventd/web/plugins/wato/mkeventd.py
+++ b/mkeventd/web/plugins/wato/mkeventd.py
@@ -2090,7 +2090,7 @@ if mkeventd_enabled:
elements = [
Integer(
title = _("Port number:"),
- help = _("If you are running the mkeventd as a non-root (such as in an OMD site) "
+ help = _("If you are running the Event Console as a non-root (such as in an OMD site) "
"please choose port number greater than 1024."),
minvalue = 1,
maxvalue = 65535,
@@ -2301,7 +2301,7 @@ if mkeventd_enabled:
"log_level",
DropdownChoice(
title = _("Log level"),
- help = _("You can configure the mkeventd to log more details about it's actions. "
+ help = _("You can configure the Event Console to log more details about it's actions. "
"These information are logged into the file <tt>%s</tt>") %
site_neutral_path(defaults.log_dir + "/mkeventd.log"),
choices = [
@@ -2316,10 +2316,10 @@ if mkeventd_enabled:
register_configvar(group,
"log_rulehits",
Checkbox(title = _("Log rule hits"),
- label = _("Log hits for rules in log of mkeventd"),
+ label = _("Log hits for rules in log of Event Console"),
help = _("If you enable this option then every time an event matches a rule "
"(by normal hit, cancelling, counting or dropping) a log entry will be written "
- "into the log file of the mkeventd. Please be aware that this might lead to "
+ "into the log file of the Event Console. Please be aware that this might lead to "
"a large number of log entries. "),
default_value = False),
domain = "mkeventd",
@@ -2327,10 +2327,10 @@ if mkeventd_enabled:
register_configvar(group,
"debug_mkeventd_queries",
- Checkbox(title = _("Debug queries to mkeventd"),
- label = _("enable debugging of queries"),
- help = _("With this option turned on all queries made to the event daemon "
- "will be displayed."),
+ Checkbox(title = _("Debug queries to Event Console"),
+ label = _("Enable debugging of queries"),
+ help = _("With this option turned on all queries asking for data of the Event Console "
+ "will be displayed in the views."),
default_value = False),
domain = "mkeventd",
)
Module: check_mk
Branch: master
Commit: babe935698cd6eacfd560feca5b4dfb11a67676c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=babe935698cd6e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jun 3 11:56:19 2015 +0200
#2336 FIX BI compilation diagnostics are now logged to the generic web.log
It is possible to enable diagnostic information for compiling the BI
rules. These information were written to an explicit configured log
file, which leads to problems in distributed setups. This logging has
now been changed to use the generic <tt>web.log</tt>.
---
.werks/2336 | 12 ++++++++
ChangeLog | 3 ++
web/htdocs/bi.py | 43 ++++++++++++++--------------
web/plugins/wato/check_mk_configuration.py | 22 +++++++-------
4 files changed, 47 insertions(+), 33 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=babe935698…
Module: check_mk
Branch: master
Commit: 90c3a6a36b74865e552045448008f1abebdbfc4a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=90c3a6a36b7486…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jun 3 10:50:20 2015 +0200
#2325 oracle_tablespaces: correctly handle case where check runs in clustered mode
The check for the ORACLE tablespaces now works correctly when Check_MK
cluster hosts are being used. In such a case data files may appear twice in
the agent output - once for each node of the cluster. The check now considers
that node that has the most data files as the active node and uses the data
from that node.
---
.werks/2325 | 13 +++
ChangeLog | 1 +
checks/oracle_tablespaces | 262 ++++++++++++++++++++++++++++-----------------
3 files changed, 177 insertions(+), 99 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=90c3a6a36b…