Module: check_mk
Branch: master
Commit: 8f64837648fe1175bc6f5359f56a3516e5a3b5e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8f64837648fe11…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Apr 25 10:36:28 2017 +0200
Fixed column selections for oracle views
Change-Id: Iaac983f3caceeedd16cd61c86051de6bb7bd0751
---
web/plugins/views/inventory.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index ae727fb..2b925f2 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -782,7 +782,7 @@ inventory_displayhints.update({
"render"
: render_inv_dicttable,
"keyorder"
: [ "sid", "version", "openmode", "logmode",
"logins", "db_uptime", "db_creation_time" ],
- "view"
: "invora_instance_of_host" },
+ "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"), },
@@ -794,7 +794,7 @@ inventory_displayhints.update({
".software.applications.oracle.dataguard_stats:" : {
"title" : _("Dataguard statistics"),
"render"
: render_inv_dicttable,
"keyorder"
: [ "sid", "db_unique", "role", "switchover" ],
- "view"
: "invora_dataguard_stats_of_host" },
+ "view"
: "invoradataguardstats_of_host" },
".software.applications.oracle.dataguard_stats:*.sid" : {
"title" : _("SID"), },
".software.applications.oracle.dataguard_stats:*.db_unique" : {
"title" : _("Name"), },
".software.applications.oracle.dataguard_stats:*.role" : {
"title" : _("Role"), },
@@ -803,14 +803,14 @@ inventory_displayhints.update({
".software.applications.oracle.recovery_area:" : {
"title" : _("Recovery area"),
"render" :
render_inv_dicttable,
"keyorder" :
[ "sid", "flashback" ],
- "view" :
"invora_recovery_area_of_host" },
+ "view" :
"invorarecoveryarea_of_host" },
".software.applications.oracle.recovery_area:*.sid" : {
"title" : _("SID"), },
".software.applications.oracle.recovery_area:*.flashback" : {
"title" : _("Flashback"), },
".software.applications.oracle.tablespaces:" : {
"title" : _("Tablespaces"),
"render"
: render_inv_dicttable,
"keyorder"
: [ "sid", "name", "version", "type",
"autoextensible" ],
- "view"
: "invora_tablespace_of_host" },
+ "view"
: "invoratablespace_of_host" },
".software.applications.oracle.tablespaces:*.sid" : {
"title" : _("SID"), },
".software.applications.oracle.tablespaces:*.name" : {
"title" : _("Name"), },
".software.applications.oracle.tablespaces:*.version" : {
"title" : _("Version"), },
@@ -1163,10 +1163,10 @@ declare_invtable_view("invpsu",
".hardware.components.psus:", _("Po
declare_invtable_view("invsensor",
".hardware.components.sensors:", _("Sensor"),
_("Sensors"))
declare_invtable_view("invmodule",
".hardware.components.modules:", _("Module"),
_("Modules"))
-declare_invtable_view("invora_instance",
".software.applications.oracle.instance:", _("Oracle
instance"), _("Oracle instances"))
-declare_invtable_view("invora_recovery_area",
".software.applications.oracle.recovery_area:", _("Oracle recovery
area"), _("Oracle recovery areas"))
-declare_invtable_view("invora_dataguard_stats",
".software.applications.oracle.dataguard_stats:", _("Oracle dataguard
statistic"), _("Oracle dataguard statistics"))
-declare_invtable_view("invora_tablespace",
".software.applications.oracle.tablespaces:", _("Oracle
tablespace"), _("Oracle tablespaces"))
+declare_invtable_view("invorainstance",
".software.applications.oracle.instance:", _("Oracle
instance"), _("Oracle instances"))
+declare_invtable_view("invorarecoveryarea",
".software.applications.oracle.recovery_area:", _("Oracle recovery
area"), _("Oracle recovery areas"))
+declare_invtable_view("invoradataguardstats",
".software.applications.oracle.dataguard_stats:", _("Oracle dataguard
statistic"), _("Oracle dataguard statistics"))
+declare_invtable_view("invoratablespace",
".software.applications.oracle.tablespaces:", _("Oracle
tablespace"), _("Oracle tablespaces"))
# This would also be possible. But we muss a couple of display and filter hints.