Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
title/usr/local/omk/conf/opCommon.nmis
 --snip
    'opcharts_gui_node_list_table_columns' => [
      {
        'cell' => 'NodeLinkCell',
        'comment' => 'must be present for NodeLinkCell to work on any column, use renderable => 0 to hide',
        'label' => 'Name',
        'name' => 'node_name',
        'renderable' => 1
      },
      {
        'cell' => 'String',
        'label' => 'Host',
        'name' => 'node_summary.host'
      },
      {
        'cell' => 'String',
        'label' => 'Country',
        'name' => 'node_summary.country'
      },
      {
        'cell' => 'NodeStatusCell',
        'label' => 'Node Status',
        'name' => 'node_summary.nodestatus'
      },
--snip
    'opcharts_node_selector_sections' => [
      {
        'key' => 'nodestatus',
        'name' => 'Node Status'
      },
      {
        'key' => 'group',
        'name' => 'Group'
      },
      {
        'key' => 'roleType',
        'name' => 'Node Role'
      },
      {
        'key' => 'nodeType',
        'name' => 'Node Type'
      },
      {
        'key' => 'nodeVendor',
        'name' => 'Node Vendor'
      },
      {
        'key' => 'country',
        'name' => 'Country'
      }
    ],
--snip
    'opcharts_gui_node_summary_list' => [
      'name',
      'country',
      'group',
      'host',
      'host_addr',
--snip

Verify opCommon.nmis

  • Restart the omkd service.
  • Open a browser to the opCharts GUI.
  • The new field should be found as in the example below.

...