Module: check_mk
Branch: master
Commit: 7ea230be8e26c00e8d864e188ed7bd10d5b3670d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7ea230be8e26c0…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Aug 1 14:39:49 2017 +0200
4987 FIX oracle_instance: Removed uptime from inventory plugin in sense of werk #4485
Change-Id: Ie7665c0ce050c0ebd043a863437aa32fadfebc4f
---
.werks/4987 | 11 +++++++++++
inventory/oracle_instance | 1 -
web/plugins/views/inventory.py | 3 +--
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/.werks/4987 b/.werks/4987
new file mode 100644
index 0000000..e624382
--- /dev/null
+++ b/.werks/4987
@@ -0,0 +1,11 @@
+Title: oracle_instance: Removed uptime from inventory plugin in sense of werk #4485
+Level: 1
+Component: inv
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1501591071
+
+
diff --git a/inventory/oracle_instance b/inventory/oracle_instance
index 555f387..4cdf041 100644
--- a/inventory/oracle_instance
+++ b/inventory/oracle_instance
@@ -55,7 +55,6 @@ def inv_oracle_instance(info):
"openmode" : openmode,
"logmode" : logmode,
"logins" : logins,
- "db_uptime" : up_seconds,
"db_creation_time" : db_creation_time,
})
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index 8ecd1d4..b6c50bf 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -814,14 +814,13 @@ inventory_displayhints.update({
".software.applications.oracle.instance:" : {
"title" : _("Instances"),
"render"
: render_inv_dicttable,
"keyorder"
: [ "sid", "version", "openmode", "logmode",
-
"logins", "db_uptime", "db_creation_time" ],
+
"logins", "db_creation_time" ],
"view"
: "invorainstance_of_host" },
".software.applications.oracle.instance:*.sid" : {
"title" : _("SID"), },
".software.applications.oracle.instance:*.version" : {
"title" : _("Version"), },
".software.applications.oracle.instance:*.openmode" : {
"title" : _("Open mode"), },
".software.applications.oracle.instance:*.logmode" : {
"title" : _("Log mode"), },
".software.applications.oracle.instance:*.logins" : {
"title" : _("Logins"), },
- ".software.applications.oracle.instance:*.db_uptime" : {
"title" : _("Uptime"), "paint" : "age" },
".software.applications.oracle.instance:*.db_creation_time" : {
"title" : _("Creation time"), "paint" :
"date_and_time" },
".software.applications.oracle.dataguard_stats:" : {
"title" : _("Dataguard statistics"),