Module: check_mk
Branch: master
Commit: 0639c51d0124a3ee8bd58f36c0d762a0dc2899de
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0639c51d0124a3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 8 09:59:40 2016 +0100
4135 View CSV export: Group cells are added in front of the regular cells for each row
The group cells were missing in the export. So it was not possible to reproduce the grouping
with the exported data.
---
.werks/4135 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/views/webservice.py | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/4135 b/.werks/4135
new file mode 100644
index 0000000..da912b5
--- /dev/null
+++ b/.werks/4135
@@ -0,0 +1,10 @@
+Title: View CSV export: Group cells are added in front of the regular cells for each row
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i3
+Date: 1481187505
+Class: feature
+
+The group cells were missing in the export. So it was not possible to reproduce the grouping
+with the exported data.
diff --git a/ChangeLog b/ChangeLog
index a9d73a4..ec66a46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -53,6 +53,7 @@
* 4107 Now you are able to search for check plugins
* 3997 New metric for mrpe/check_icmp...
* 4083 Web API: Always output full traceback in case of non Check_MK unhandled exceptions
+ * 4135 View CSV export: Group cells are added in front of the regular cells for each row...
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
* 4040 FIX: Fix error in view about "No WATO folder ..." in case of host imported via cmcdump...
* 4046 FIX: Repaired html rendering....
diff --git a/web/plugins/views/webservice.py b/web/plugins/views/webservice.py
index 32cbaa8..84705f5 100644
--- a/web/plugins/views/webservice.py
+++ b/web/plugins/views/webservice.py
@@ -130,7 +130,7 @@ def render_csv(rows, view, group_cells, cells, num_columns, show_checkboxes, exp
csv_separator = html.var("csv_separator", ";")
first = True
- for cell in cells:
+ for cell in group_cells + cells:
if first:
first = False
else:
@@ -143,7 +143,7 @@ def render_csv(rows, view, group_cells, cells, num_columns, show_checkboxes, exp
for row in rows:
html.write("\n")
first = True
- for cell in cells:
+ for cell in group_cells + cells:
if first:
first = False
else:
Module: check_mk
Branch: master
Commit: 88b48669c7203dfca8c4cf5b8801f27c88b9167f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=88b48669c7203d…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Dec 8 09:02:35 2016 +0100
updated werk text
---
.werks/4110 | 2 +-
ChangeLog | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.werks/4110 b/.werks/4110
index f5591d6..2a8dbc1 100644
--- a/.werks/4110
+++ b/.werks/4110
@@ -1,4 +1,4 @@
-Title: netscaler_vserver: health status is now configurable
+Title: netscaler_vserver: now lower levels for health are configurable
Level: 1
Component: checks
Compatible: compat
diff --git a/ChangeLog b/ChangeLog
index 09e9bb6..41dc7e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,7 +18,7 @@
* 3996 agent_netapp clustermode: now uses a fallback query to determine the node name if the intial query fails
* 4108 ipmi_sensors: new options available...
* 4109 websphere_mq_instance, websphere_mq_instance.manager: new checks for Websphere MQ
- * 4110 netscaler_vserver: health status is now configurable
+ * 4110 netscaler_vserver: now lower levels for health are configurable
* 4098 ups_cps_battery, ups_cps_battery.temp, ups_cps_inphase, ups_cps_outphase: Several checks to monitor CPS UPS devices
* 3987 FIX: Check_MK Agent Access: Windows agent reported incorrect only from value
* 3952 FIX: diskstat: fixed bug if multipath devices having an alias...
Module: check_mk
Branch: master
Commit: 68e64696e5606581e7af9a9cc8ce0b1471e96950
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=68e64696e56065…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 7 15:10:35 2016 +0100
EC: fix HTML tag in help text
---
web/plugins/wato/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/wato/mkeventd.py b/web/plugins/wato/mkeventd.py
index 8038fed..66a16ef 100644
--- a/web/plugins/wato/mkeventd.py
+++ b/web/plugins/wato/mkeventd.py
@@ -54,7 +54,7 @@ The following macros will be substituted by value from the actual event:
<tr><td class=tt>$TEXT$</td><td>Message text</td></tr>
<tr><td class=tt>$FIRST$</td><td>Time of the first occurrance (time stamp)</td></tr>
<tr><td class=tt>$LAST$</td><td>Time of the most recent occurrance</td></tr>
-<tr><td class=tt>$COMMENT$</td><td>Event comment/td></tr>
+<tr><td class=tt>$COMMENT$</td><td>Event comment</td></tr>
<tr><td class=tt>$SL$</td><td>Service Level</td></tr>
<tr><td class=tt>$HOST$</td><td>Host name (as sent by syslog)</td></tr>
<tr><td class=tt>$CONTACT$</td><td>Contact information</td></tr>
Module: check_mk
Branch: master
Commit: 07d2f25cb7013af65eb98d0108df1f359f4ad98f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=07d2f25cb7013a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 7 15:07:23 2016 +0100
EC: correct labelling of button for adding an action
---
web/plugins/wato/mkeventd.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/plugins/wato/mkeventd.py b/web/plugins/wato/mkeventd.py
index 04757db..8038fed 100644
--- a/web/plugins/wato/mkeventd.py
+++ b/web/plugins/wato/mkeventd.py
@@ -196,6 +196,7 @@ vs_mkeventd_actions = \
help = _("Configure that possible actions that can be performed when a "
"rule triggers and also manually by a user."),
totext = _("%d actions"),
+ add_label = _("Add new action"),
)
Module: check_mk
Branch: master
Commit: 90c75443e8208e347c4a860ae63136ca006716b3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=90c75443e8208e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 7 13:41:40 2016 +0100
4147 FIX Always show rule analyser result on Generate, not only after previous Try out
In the Event Console configuration there is the event simulator. If you first did
{{Try out}} with a message and after that {{Generate}}, then still the event
would be analysed and the rules marked according to the matches.
Previously this did not work when you did not {{Try out}} before. This has been
fixed.
---
.werks/4147 | 15 +++++++++++++++
ChangeLog | 1 +
web/plugins/wato/mkeventd.py | 2 +-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/.werks/4147 b/.werks/4147
new file mode 100644
index 0000000..ab5edeb
--- /dev/null
+++ b/.werks/4147
@@ -0,0 +1,15 @@
+Title: Always show rule analyser result on Generate, not only after previous Try out
+Level: 1
+Component: ec
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1481114369
+
+In the Event Console configuration there is the event simulator. If you first did
+{{Try out}} with a message and after that {{Generate}}, then still the event
+would be analysed and the rules marked according to the matches.
+
+Previously this did not work when you did not {{Try out}} before. This has been
+fixed.
diff --git a/ChangeLog b/ChangeLog
index 8f74116..09e9bb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -97,6 +97,7 @@
Event Console:
* 4132 Monitoring notifications: Add EC_ORIG_HOST to notifiation context...
* 4097 FIX: Event console: Make writing of status file more robust...
+ * 4147 FIX: Always show rule analyser result on Generate, not only after previous Try out...
Livestatus:
* 3651 FIX: Fixed potential segfault with Nagios core when accessing log/commands table via Livestatus....
diff --git a/web/plugins/wato/mkeventd.py b/web/plugins/wato/mkeventd.py
index f0fe8b6..04757db 100644
--- a/web/plugins/wato/mkeventd.py
+++ b/web/plugins/wato/mkeventd.py
@@ -1184,7 +1184,7 @@ def show_event_simulator():
html.end_form()
html.br()
- if html.var("simulate"):
+ if html.var("simulate") or html.var("_generate"):
return vs_mkeventd_event.from_html_vars("event")
else:
return None