Module: check_mk
Branch: master
Commit: 1a96f46cce84416d30ddcee5381c7c6161996587
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1a96f46cce8441…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jul 7 09:55:17 2016 +0200
3664 FIX Fixed not working hardware/system serial and model painters and filters
If you already configured them in your views and they were not working, you will have
to remove them from your view and re-add them.
---
.werks/3664 | 11 +++++++++++
ChangeLog | 1 +
web/plugins/views/inventory.py | 5 +++++
3 files changed, 17 insertions(+)
diff --git a/.werks/3664 b/.werks/3664
new file mode 100644
index 0000000..2834b00
--- /dev/null
+++ b/.werks/3664
@@ -0,0 +1,11 @@
+Title: Fixed not working hardware/system serial and model painters and filters
+Level: 1
+Component: inv
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1467877979
+
+If you already configured them in your views and they were not working, you will have
+to remove them from your view and re-add them.
diff --git a/ChangeLog b/ChangeLog
index 71cb0f9..7c37f3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -560,6 +560,7 @@
* 3526 FIX: Inventory scripts are no longer called when no data is available for
their section...
* 3455 FIX: Fixed broken switch port filtering/sorting view
* 3663 FIX: Added missing system manufacturer filter/painter
+ * 3664 FIX: Fixed not working hardware/system serial and model painters and
filters...
1.2.8b1:
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index 4e4f109..1d821a0 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -581,6 +581,11 @@ inventory_displayhints.update({
".hardware.system.product" : { "title" :
_("Product") },
".hardware.system.serial" : { "title" :
_("Serial Number") },
".hardware.system.model" : { "title" :
_("Model Name") },
+
+ # Legacy ones. Kept to not break existing views - DON'T use these values for new
plugins
+ ".hardware.system.serial_number" : { "title" :
_("Serial Number - LEGACY, don't use") },
+ ".hardware.system.model_name" : { "title" :
_("Model Name - LEGACY, don't use") },
+
".hardware.system.manufacturer" : { "title" :
_("Manufacturer") },
".hardware.components." : { "title" :
_("Physical Components") },