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 Range | Weight |
---|---|
Level < 5 | 2 |
5 <= Level < 10 | 3 |
10 <= Level < 20 | 4 |
20 <= Level < 40 | 5 |
40 <= Level < 60 | 6 |
60 <= Level < 80 | 8 |
80 <= Level | 10 |
Line Colour
Status | Color Colour Code | Appearance |
---|---|---|
"reachable", "normal", "up" | #5cb85c | green |
"degraded", "error", "minor", "warning" | #FFD700 | yellow |
"unreachable", "major", "critical", "fatal", "down" | #d9534f | red |
Others / Null | #999 | black |
Metric Link Resource Views
...
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 |
The JSON file is an array of objects with each object containing three top-level keys:
...