Module: check_mk
Branch: master
Commit: 78dae107f01766c3243e3eb482b58b9a92e4f980
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=78dae107f01766…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri May 31 14:42:55 2013 +0200
Column Perf-O-Meter is now sortable: it sorts after the *first* value
---
ChangeLog | 3 +++
web/plugins/views/perfometer.py | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index fa16093..c6f7623 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
* User accounts can now be locked after a specified amount of auth
failures (lock_on_logon_failures can be set to a number of tries)
* FIX: better error message in case of exception in SNMP handling
+ * Column Perf-O-Meter is now sortable: it sorts after the *first*
+ performance value. This might not always be the one you like, but
+ its far better than nothing.
Checks & Agents:
* lnx_if: Fixed crash on missing "Address" field
diff --git a/web/plugins/views/perfometer.py b/web/plugins/views/perfometer.py
index 9744671..4e17c58 100644
--- a/web/plugins/views/perfometer.py
+++ b/web/plugins/views/perfometer.py
@@ -191,7 +191,8 @@ multisite_painters["perfometer"] = {
"short" : _("Perf-O-Meter"),
"columns" : [ "service_perf_data", "service_state",
"service_check_command",
"service_pnpgraph_present", "service_plugin_output" ],
- "paint" : paint_perfometer
+ "paint" : paint_perfometer,
+ "sorter" : "svc_perf_val01",
}
load_web_plugins("perfometer", globals())