Module: check_mk
Branch: master
Commit: 8c97b5811e89ded0eeb8199eddd1a13be5e2f05d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8c97b5811e89de…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Oct 21 16:18:25 2013 +0200
alcatel_power: Added another Suply type. Thanks to Daniel Hertreiter @einhell.com
---
checks/alcatel_power | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/alcatel_power b/checks/alcatel_power
index 7284ca6..ed2e122 100644
--- a/checks/alcatel_power
+++ b/checks/alcatel_power
@@ -25,12 +25,12 @@
# Boston, MA 02110-1301 USA.
def inventory_alcatel_power(info):
- return [ (x[0], None) for x in info if x[2] in ['0x35000001', '0x45000004', '0x45000002']]
+ return [ (x[0], None) for x in info if x[2] in ['0x35000001', '0x45000004', '0x45000002', '0x45000009']]
def check_alcatel_power(item, _no_params, info):
for line in info:
if item == line[0]:
- if line[2] not in ['0x35000001', '0x45000004', '0x45000002']:
+ if line[2] not in ['0x35000001', '0x45000004', '0x45000002', '0x45000009']:
return 3, "No Power supply connected to this port"
if int(line[1]) != 1:
return 2, "Supply in error condition (%s)" % line[1]
Module: check_mk
Branch: master
Commit: 39ce3ff0504d6a1d9ff326ee4c004bc82f431151
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=39ce3ff0504d6a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 21 14:43:39 2013 +0200
FIX: Hosttag filter now works in service related views
---
ChangeLog | 1 +
web/plugins/views/filters.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e4ae473..150b719 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,7 @@
* FIX: Fixed encoding problem in webservice column output
* FIX: Fix output format python for several numeric columns
* FIX: Fixed searching hosts by aliases/adresses
+ * FIX: Hosttag filter now works in service related views
Notifications:
* Blacklisting for services in the felixble notification system
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index 662bc21..24b9fd7 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -771,7 +771,7 @@ class FilterHostTags(Filter):
if op and val:
operator = op != 'is' and '!~' or '~'
- headers.append('Filter: custom_variables %s TAGS %s' % (operator, val))
+ headers.append('Filter: host_custom_variables %s TAGS %s' % (operator, val))
if headers:
return '\n'.join(headers) + '\n'
Module: check_mk
Branch: master
Commit: 35b1a38bf3a78947bb37aec7d38f1c24d396c948
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35b1a38bf3a789…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Oct 20 12:57:41 2013 -0400
Updated bug entries #0960
---
.bugs/960 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.bugs/960 b/.bugs/960
index ba6d14d..5e3e9bb 100644
--- a/.bugs/960
+++ b/.bugs/960
@@ -1,9 +1,9 @@
Title: Security issue if agent_vsphere exits with RC != 0
Component: checks
-State: open
+Class: bug
+State: done
Date: 2013-08-08 11:37:26
Targetversion: 1.2.3i5
-Class: bug
mit dem vSphere Agent ist mir noch ein kleines Security Problem aufgefallen.
Ab und zu läuft der Agent bei uns in einen Fehler, der zu einem Critical
@@ -17,3 +17,7 @@ Lösung: evtl. kann der Prozess agent_vsphere das Argument im Speicher
selbst durch **** ersetzen. Alternativ: Die Fehlermeldung Program... zeigt
nur alles bis zum ersten Space.
+
+2013-10-20 12:57:40: changed state open -> done
+Wurde schon dadurch gelöst, dass das Kommando nicht mehr ausgegeben
+wird.
Module: check_mk
Branch: master
Commit: 748548df5f6d7cebcb17619fde5d8192a860176c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=748548df5f6d7c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Oct 20 12:54:36 2013 -0400
FIX: Avoid timed browser reload after execution of exections
Still the wohl workflow is stull much too complicated in the
implementation. There are still some subtle work flows where
things do not work out correctly.
---
.bugs/977 | 8 ++++++--
ChangeLog | 1 +
web/htdocs/views.py | 6 ++++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/.bugs/977 b/.bugs/977
index 913fa05..1a1a0ff 100644
--- a/.bugs/977
+++ b/.bugs/977
@@ -1,9 +1,9 @@
Title: Invalid reload after command execution
Component: multisite
-State: open
+Class: bug
+State: done
Date: 2013-06-23 11:21:05
Targetversion: 1.2.3i5
-Class: bug
When you issue a command on hosts/services and confirm then you see a blue
message with a link back to the view. In that situation there must be no
@@ -14,3 +14,7 @@ An even better resolution would be to drop that intermediate page at
all and instead print the result of the command in a kind of overlay
window that goes away after a view seconds or when you hover over
it. That saves one mouse click.
+
+2013-10-20 12:53:59: changed state open -> done
+Disabled reload after execution of actions and also
+during confirmation.
diff --git a/ChangeLog b/ChangeLog
index 2dc4a71..6093cb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,7 @@
* FIX: Fix output format python for several numeric columns
* FIX: Fixed searching hosts by aliases/adresses
* FIX: Remove duplicate entries from Quicksearch
+ * FIX: Avoid timed browser reload after execution of exections
BI:
* FIX: Fix exception when showing BI tree in reporting time warp
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 6420737..5958fc0 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1429,6 +1429,8 @@ def render_view(view, rows, datasource, group_painters, painters,
show_checkboxes, layout, num_columns, show_filters, show_footer, hide_filters,
browser_reload):
+ if html.transaction_valid() and html.do_actions():
+ html.set_browser_reload(0)
# Show heading (change between "preview" mode and full page mode)
if show_heading:
@@ -1528,8 +1530,8 @@ def render_view(view, rows, datasource, group_painters, painters,
if show_buttons:
update_context_links(
# don't take display_options into account here ('c' is set during reload)
- row_count > 0 and should_show_command_form('C', datasource) \
- and not html.do_actions(),
+ row_count > 0 and should_show_command_form('C', datasource),
+ # and not html.do_actions(),
can_display_checkboxes
)