/
Customisation of Enterprise Services View

Customisation of Enterprise Services View

  • Introduction
  • Creating a folder table_schemas
  • Adding JSON file 
  • Customising JSON file for Enterprise Services table 

Introduction

The Enterprise Service view grid comes from table_schemas which is open to customers to customize. In the JSON file we can remove unwanted

columns like nodes unreachable, interface state, interface status etc. Whenever customer upgrades our product it will override their changes.

Note: Customers needs to keep a back up of their schema's before upgrade which they can restore as and when required.

Creating a folder table_schemas

Need to create a folder table_schemas under conf using below commands

cd  /usr/local/omk/conf/
mkdir table_schemas

Adding JSON file 

Need to add a json file to table_schemas using below commands

cp /usr/local/omk/lib/json/opCharts/table_schemas/opCharts_enterprise-services.json /usr/local/omk/conf/table_schemas/

Customising JSON file for Enterprise Services view 

Edit the file (/usr/local/omk/conf/table_schemas/opCharts_enterprise-services.json) based on requirements of the columns we can delete specific column related data. 

For example : If we want to remove Last Updated column form the table then we need to delete the specific dictionary(Red colour text as shown below) from the json file.

{

“name”: “last_updated”,

“label”: “Last Updated”,

“cell”: “string”,

“formatter”: “RelativeTime”,

“editable”: false

},

{   

    "name": "result.state.nodes.unreachable",

    "label": "Nodes State",

    "cell": "NodeStatus",

    "search": "iregex",

    "editable": false

  },


After deletion need to refresh Enterprise Service page and we can see Last Updated column removed from it.




Related content

opCharts - Customising Table Columns
opCharts - Customising Table Columns
More like this
opEvents 2.4.x - Customising Table Columns
opEvents 2.4.x - Customising Table Columns
More like this
Remover columnas de la vista Nodes de opCharts
Remover columnas de la vista Nodes de opCharts
More like this
opCharts Dashboard Component Schema
opCharts Dashboard Component Schema
More like this
Add a new opCharts 3 TopN Table
Add a new opCharts 3 TopN Table
More like this
Servicios empresariales
Servicios empresariales
More like this