Module: check_mk
Branch: master
Commit: df885345b8e248e8e7a6d7e3ad9cdc5296f2c6ff
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=df885345b8e248…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 1 12:20:57 2013 +0100
BI: FIX: top-down and bottom-up was broken in case of "only problems"
---
ChangeLog | 1 +
web/plugins/views/bi.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1e04ed6..d9f3ade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -90,6 +90,7 @@
* FIX: fix style of mouse pointer over BI boxes
* FIX: list of BI aggregates was incomplete in some cases
* FIX: single host aggregations didn't work for aggregations += [...]
+ * FIX: top-down and bottom-up was broken in case of "only problems"
* Make titles of non-leaf tree nodes klickable
WATO:
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 1afe686..d4ad8e6 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -232,7 +232,7 @@ def paint_aggr_tree_ltr(row, mirror):
tree = row["aggr_treestate"]
if get_painter_option("aggr_onlyproblems") == "1":
- tree = filter_tree_only_problems(tree)
+ tree = bi.filter_tree_only_problems(tree)
depth = bi.status_tree_depth(tree)
leaves = gen_table(tree, depth, row["aggr_hosts"] > 1)
h = '<table class="aggrtree ltr">'
Module: check_mk
Branch: master
Commit: 2fa34ee9ccdac6f53b20ec62f1e177e0eb9cdab2
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2fa34ee9ccdac6…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Mar 1 10:55:56 2013 +0100
if.include now with assumed_speed_in/out support -> checkman update
---
checkman/hpux_if | 8 ++++++++
checkman/if | 8 ++++++++
checkman/if64 | 8 ++++++++
checkman/if_lancom | 8 ++++++++
checkman/lnx_if | 8 ++++++++
checkman/mcdata_fcport | 8 ++++++++
6 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/checkman/hpux_if b/checkman/hpux_if
index 8b69ebf..4d1bb2d 100644
--- a/checkman/hpux_if
+++ b/checkman/hpux_if
@@ -81,6 +81,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
are weighted higher than older values and that even values out of the configured
time range are - to a low degree - represented in the average. If you configure
an average, then the traffic levels are applied to the averaged values.
+
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
{"state"} - the expected operational status of the interface (as string or list of strings. If this
is {None} then the state is not checked. Possible values for the
diff --git a/checkman/if b/checkman/if
index 5d24dd3..8a6cd51 100644
--- a/checkman/if
+++ b/checkman/if
@@ -127,6 +127,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
{"speed"} - the expected port speed as an integer of the bits per second (not
the bytes!). If you set this to {None}, then the port speed is not checked.
The default is to remember and enforce the port speed found during inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
{"unit"} - the measurement unit which can be set to "bit" or "byte".
Depending on this choice the limits set in the {"traffic"} parameter are regarded
diff --git a/checkman/if64 b/checkman/if64
index 37232b1..b315470 100644
--- a/checkman/if64
+++ b/checkman/if64
@@ -127,6 +127,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
{"speed"} - the expected port speed as an integer of the bits per second (not
the bytes!). If you set this to {None}, then the port speed is not checked.
The default is to remember and enforce the port speed found during inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
{"unit"} - the measurement unit which can be set to "bit" or "byte".
Depending on this choice the limits set in the {"traffic"} parameter are regarded
diff --git a/checkman/if_lancom b/checkman/if_lancom
index 9ce6d99..5c1ce57 100644
--- a/checkman/if_lancom
+++ b/checkman/if_lancom
@@ -130,6 +130,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
the bytes!). If you set this to {None}, then the port speed is not checked.
The default is to remember and enforce the port speed found during inventory.
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
{"unit"} - the measurement unit which can be set to "bit" or "byte".
Depending on this choice the limits set in the {"traffic"} parameter are regarded
as bits or bytes, too. When this parameter is set to "bit" any traffic related plugin output
diff --git a/checkman/lnx_if b/checkman/lnx_if
index edc1e11..e264277 100644
--- a/checkman/lnx_if
+++ b/checkman/lnx_if
@@ -128,6 +128,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
{"speed"} - the expected port speed as an integer of the bits per second (not
the bytes!). If you set this to {None}, then the port speed is not checked.
The default is to remember and enforce the port speed found during inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
[configuration]
if_inventory_porttypes (list of strings): List of interface types the inventory should create checks for.
diff --git a/checkman/mcdata_fcport b/checkman/mcdata_fcport
index e8ebd8f..cea5354 100644
--- a/checkman/mcdata_fcport
+++ b/checkman/mcdata_fcport
@@ -123,6 +123,14 @@ parameters (dict): Due to its complexity, this check now uses a dictionary as
{"speed"} - the expected port speed as an integer of the bits per second (not
the bytes!). If you set this to {None}, then the port speed is not checked.
The default is to remember and enforce the port speed found during inventory.
+
+ {"assumed_speed_in"} - the assumed port input speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
+
+ {"assumed_speed_out"} - the assumed port output speed as an integer of the bits per second (not
+ the bytes!). If this value is not set the check takes the value configured in {speed}
+ before using the automatically detected port speed
[configuration]
if_inventory_porttypes (list of strings): List of interface types the inventory should create checks for.
Module: check_mk
Branch: master
Commit: 7aaf3425a23f7549e040a23b86dc981ed8333a77
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7aaf3425a23f75…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 1 10:18:22 2013 +0100
FIX: Fixed exception when editing contactgroups without alias
---
ChangeLog | 1 +
web/htdocs/wato.py | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8062d53..d7bca96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,7 @@
* FIX: flexible notification valuespec is now localizable
* FIX: Alias values of host/service/contact groups need to be set and unique
within the group
+ * FIX: Fixed exception when editing contactgroups without alias
* Suggest use default value for filesystem levels that make sense
* Valuespec: CascadingDropdown now able to process choice values from functions
* Freshness checking for classical passive Nagios checks (custom_checks)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 27a3b7e..4e6c116 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -5820,16 +5820,18 @@ def mode_edit_group(phase, what):
html.text_input("name", clone_group or "")
html.set_focus("name")
else:
+ clone_group = None
html.write(name)
html.set_focus("alias")
forms.section(_("Alias"))
html.help(_("An Alias or description of this group."))
alias = groups.get(name, "")
- if not alias and clone_group:
- alias = groups.get(clone_group, "")
if not alias:
- alias = name
+ if clone_group:
+ alias = groups.get(clone_group, "")
+ else:
+ alias = name
html.text_input("alias", alias)
forms.end()
html.button("save", _("Save"))
Module: check_mk
Branch: master
Commit: 6d98d723128bce479c310580a3f4d0d76e37ecba
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6d98d723128bce…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 1 10:04:30 2013 +0100
Updated bug entries #0885
---
.bugs/885 | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.bugs/885 b/.bugs/885
index 4cd4848..1b0baf3 100644
--- a/.bugs/885
+++ b/.bugs/885
@@ -1,13 +1,13 @@
-Title: Password field in personal settings must not be prefilled by browser
+Title: Fewer mouseclicks in commands and actions
Component: multisite
-Class: bug
-State: done
-Date: 2013-01-21 15:55:44
-Targetversion: 1.2.2
+State: open
+Date: 2013-03-01 10:02:56
+Targetversion: 1.2.3
+Class: feature
-If the browser enters a possible previous password then after saving
-(because of changes to the notifications) the user password gets
-changed and the user logged out - forever.
+Two ideas in order to ease the user actions:
-2013-02-05 15:36:48: changed state open -> done
-Just implemented. Added "autocomplete=off" attribute to input fields.
+1. Make a user setting the completely disabled all confirms in Multisite and WATO.
+2. When a user has done an action on hosts/services, do not display a separate
+result page, but directly to back to the view. The result of the action is then
+displayed in a floating div, that goes away if you hover over.