Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Describe the Colour appearance :- green, yellow, red, black

Enhancing Network Visualization with Metric Links in opCharts

The Metric Links feature on opCharts provides highly enhanced visualization capabilities in topological, geographical, or network maps. It enables you to establish a custom metric defining link weight and colorcolour. A common use-case for this could be defining the Signal-to-Noise Ratio (SNR) for a radio link between two distinct towers; see an illustration below.

...

The link between the two nodes will now utilize the status document's level to display the overall status, colouring the link accordingly. The link's line weight will be calculated based on the value.

...

Level RangeWeight
          Level < 52
 5 <= Level < 103
10 <= Level < 204
20 <= Level < 405
40 <= Level < 606
60 <= Level < 808
80 <= Level10
StatusColor Colour CodeAppearance
"reachable", "normal", "up"#5cb85cgreen
"degraded", "error", "minor", "warning"#FFD700yellow
"unreachable", "major", "critical", "fatal", "down"#d9534fred
Others / Null#999black

...

To set up these panels, you need to create a file opCharts_panels-all.json at conf/table_schemas/ ; see an illustration below.

Tip

You can use the file omk/lib/json/opCharts/table_schemas/opCharts_panels-all.json as a template.

The JSON file is an array of objects with each object containing three top-level keys:

...