Versions Compared

Key

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

Table of Contents

...

When opCharts is linked to NMIS it displays the information available from the model of the node, all graphs that exist for a node or node resource index are shown.  To override these default dashboards to show only the information you prefer, create a dashboard with the charts you would like to show.  Then enter the correct default for string.  opCharts will search from most-specific default_for to least specific default_for, if nothing is found matching it will display an auto-generated dashboard.

...

The search for node only dashboards goes like this:

      "${model_name}",
"default"

 In the shipping configuration , a dashboard is defined for no dashboards are defined.  If the user wanted to override the default dashboard for the "CiscoRouter" , so this will display for all nodes that use the CiscoRouter model. model, put "CiscoRouter" in the default_for box of the dashboard and it will then be displayed in place of the auto-generated dashboard.  All components displayed will have the "node" in the component replaced with the node that is currently being viewed.

Node Resource / indexed resource

The search for this is more complex but it works the same way: 

      "${model_name}_${resource_name}_${dataset_name}",
"node_${resource_name}_${dataset_name}",
"${model_name}_${resource_id}_default",
"node_${resource_name}_default",
"${model_name}_resource_default",
"node_resource_default"

Example:

omk/opCharts/nodes/asgard/resources/nodehealth/datasets/MemoryFreeIO

...

So dashboards can be set per resource / dataset specifically for a model or for all nodes (in that case use word "node" instead of the model name).  The default config ships with an example of this (with no dataset) for all node interfaces which is named "node interface defaults"does not ship with any examples of this.