Module: check_mk
Branch: master
Commit: b9a0fe57be145d16184deda33784111116b3d76f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9a0fe57be145d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 6 12:34:08 2014 +0100
#1490 FIX Timperiod excludes can now even be configured when creating a timeperiod
Configuring excludes was only possible when editing a timeperiod.
---
.werks/1490 | 10 ++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1490 b/.werks/1490
new file mode 100644
index 0000000..2b6e801
--- /dev/null
+++ b/.werks/1490
@@ -0,0 +1,10 @@
+Title: Timperiod excludes can now even be configured when creating a timeperiod
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.5i7
+Date: 1415273607
+
+Configuring excludes was only possible when editing a timeperiod.
diff --git a/ChangeLog b/ChangeLog
index fcbaae9..55d95d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@
* 1170 Added buttons to move rules to top/bottom of the list to ruleset edit dialog
* 1489 Added iCalendar import for generating timeperiods e.g. for holidays...
* 1165 FIX: Fixed exception in service discovery of logwatch event console forwarding checks...
+ * 1490 FIX: Timperiod excludes can now even be configured when creating a timeperiod...
Notifications:
* 1168 FIX: HTML mails can now be configured to display graphs among each other...
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index a1de88a..d7b6a65 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9532,7 +9532,7 @@ def mode_edit_timeperiod(phase):
# exclude the current timeperiod (in order to avoid cycles)
other_tps = []
for tpname, tp in timeperiods.items():
- if not new and not timeperiod_excludes(timeperiods, tpname, name):
+ if not timeperiod_excludes(timeperiods, tpname, name):
other_tps.append((tpname, tp.get("alias") or name))
vs_excl = ListChoice(choices = other_tps)
Module: check_mk
Branch: master
Commit: dedb1a37c924556ad7ec96686fc9425ad1d003bf
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dedb1a37c92455…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Nov 6 11:03:56 2014 +0100
cisco_sensor_item.include: fixed bug
---
checks/cisco_sensor_item.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/cisco_sensor_item.include b/checks/cisco_sensor_item.include
index b188f94..9bdaa18 100644
--- a/checks/cisco_sensor_item.include
+++ b/checks/cisco_sensor_item.include
@@ -32,7 +32,7 @@ def cisco_sensor_item(trial_string, fall_back):
# -> Depends on the device model
try:
# Try to handle all cases found in mkzeug/walks
- splited = [ x.strip for x in trial_string.split(',')]
+ splited = [ x.strip() for x in trial_string.split(',')]
if len(splited) == 1:
item = trial_string
# If the last part contains # or Power, take the complete string
Module: check_mk
Branch: master
Commit: 709c57c14c970a86892b30ea8039176661bfcfb5
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=709c57c14c970a…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed Nov 5 22:52:34 2014 +0100
Updated bug entries #1010, #1011
---
.bugs/1010 | 8 ++++++++
.bugs/1011 | 10 ++++++++++
2 files changed, 18 insertions(+)
diff --git a/.bugs/1010 b/.bugs/1010
new file mode 100644
index 0000000..2495a4b
--- /dev/null
+++ b/.bugs/1010
@@ -0,0 +1,8 @@
+Title: wato global settings, empty line
+Component: wato
+State: open
+Date: 2014-11-05 22:34:21
+Targetversion: future
+Class: bug
+
+in global settings - configuration gui (wato) there is an empty line which can be switched ON or OFF
diff --git a/.bugs/1011 b/.bugs/1011
new file mode 100644
index 0000000..acb15f4
--- /dev/null
+++ b/.bugs/1011
@@ -0,0 +1,10 @@
+Title: mention name and path of logfiles whereever logging can be configured in wato
+Component: wato
+State: open
+Date: 2014-11-05 22:49:22
+Targetversion: future
+Class: nastiness
+
+logging behaviour can be configured in several places in wato (e.g. global settings), however it is neven mentioned where the actual logfiles can be found, and
+paths are not at all intuitive. It would be of great benefit to the users to
+mention the location of the log whenever logging behaviour can be configured.
Module: check_mk
Branch: master
Commit: 02f5dd0eb3ca7b64beb12761880bea3aeafdb1bf
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=02f5dd0eb3ca7b…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed Nov 5 21:40:59 2014 +0100
Updated bug entries #1008
---
.bugs/1008 | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.bugs/1008 b/.bugs/1008
new file mode 100644
index 0000000..0496e6e
--- /dev/null
+++ b/.bugs/1008
@@ -0,0 +1,36 @@
+Title: dashboards: dashboard of a single hostgroup cannot be edited
+Component: multisite
+State: open
+Date: 2014-11-05 21:35:53
+Targetversion: future
+Class: bug
+
+after creating a dashboard for a single hostgroup, saving it and editing it
+again, the following traceback occurs at the and and the dashboard cannot
+be saved anymore:
+
+Host....................................................................................................
+
+
+'<_mp_4b5390f655da935e047f992c2528b461.FilterGroupCombo instance at 0x7f978d509518>, hostgroup'
+
+Internal error: 'unicode' object has no attribute 'get'
+
+Traceback (most recent call last):
+ File "/omd/sites/heute/share/check_mk/web/htdocs/index.py", line 241, in handler
+ handler()
+ File "/omd/sites/heute/share/check_mk/web/htdocs/dashboard.py", line 650, in page_edit_dashboard
+ custom_field_handler = custom_field_handler
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 723, in page_edit_visual
+ render_context_specs(visual, context_specs)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 496, in render_context_specs
+ spec.render_input(ident, value)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/valuespec.py", line 981, in render_input
+ render_content()
+ File "/omd/sites/heute/share/check_mk/web/htdocs/valuespec.py", line 968, in render_content
+ vs.render_input(prefix, value.get(ident))
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 1034, in render_input
+ self._filter.set_value(value)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 854, in set_value
+ html.set_var(varname, value.get(varname))
+AttributeError: 'unicode' object has no attribute 'get'
Module: check_mk
Branch: master
Commit: e97688a14cb8fb66287e26da54d72ede20667c1e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e97688a14cb8fb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 5 16:15:26 2014 +0100
#1488 FIX Fixed wrong information showing up on "Host Group" and "Service Group" views
The views with the names hostgroup and servicegroup which are linked from several pages
like the host group summary view when clicking on the name of a group showed hosts or
services multiple times instead of once. This has been fixed now.
If you used a link to access these views directly, you will need to re-create them,
because the names of the URL variables changed.
---
.werks/1488 | 15 ++++++
ChangeLog | 1 +
web/htdocs/views.py | 8 +++-
web/htdocs/visuals.py | 5 ++
web/plugins/views/builtin.py | 12 ++---
web/plugins/views/datasources.py | 4 +-
web/plugins/visuals/filters.py | 96 ++++++++++++++++++++++++--------------
web/plugins/visuals/infos.py | 17 ++-----
8 files changed, 100 insertions(+), 58 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=e97688a14c…