Open Ierlandfan opened 6 months ago
When adding nodes and links, only the values of the links are visible, graphs are working, nodes are ok. In the debug I see "skipping 4 of 4 points".
DEBUG: [DrawMap@Weathermap.class.php:3367] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing layer 0 DEBUG: [DrawMap@Weathermap.class.php:3367] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing layer 300 DEBUG: [DrawMap@Weathermap.class.php:3408] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing LINK 7-8 DEBUG: [calc_offset@WeatherMap.functions.php:1411] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Numeric Offset found DEBUG: [calc_offset@WeatherMap.functions.php:1411] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Numeric Offset found DEBUG: [simplify_spine@WeatherMap.functions.php:1376] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Skipped 4 points of 4 DEBUG: [draw_straight@WeatherMap.functions.php:1171] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Adding Poly imagemap for LINK:L106:1 DEBUG: [simplify_spine@WeatherMap.functions.php:1376] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Skipped 4 points of 4 DEBUG: [draw_straight@WeatherMap.functions.php:1171] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Adding Poly imagemap for LINK:L106:0
And this as basic config:
#########CONFIG
KEYPOS DEFAULT -1 -1 Traffic Load KEYTEXTCOLOR 0 0 0 KEYOUTLINECOLOR 0 0 0 KEYBGCOLOR 255 255 255 BGCOLOR 255 255 255 TITLECOLOR 0 0 0 TIMECOLOR 0 0 0 SCALE DEFAULT 0 0 192 192 192 SCALE DEFAULT 0 1 255 255 255 SCALE DEFAULT 1 10 140 0 255 SCALE DEFAULT 10 25 32 32 255 SCALE DEFAULT 25 40 0 192 255 SCALE DEFAULT 40 55 0 240 0 SCALE DEFAULT 55 70 240 240 0 SCALE DEFAULT 70 85 255 192 0 SCALE DEFAULT 85 100 255 0 0
SET key_hidezero_DEFAULT 1
NODE DEFAULT MAXVALUE 100
LINK DEFAULT BANDWIDTH 100M
NODE 7 LABEL jp03.man.asxyz.net INFOURL /device/device=7/ OVERLIBGRAPH /graph.php?height=100&width=512&device=7&type=device_bits&legend=no POSITION 167 136
NODE 8 LABEL jp04.man.asxyz.net INFOURL /device/device=8/ OVERLIBGRAPH /graph.php?height=100&width=512&device=8&type=device_bits&legend=no POSITION 800 128
LINK 7-8 WIDTH 10 INFOURL /graphs/type=port_bits/id=7238/ OVERLIBGRAPH /graph.php?height=100&width=512&id=7238&type=port_bits&legend=no TARGET ./jp03.mon.as62167.net/port-id7238.rrd:INOCTETS:OUTOCTETS NODES 7:72:-4 8:-72:4 SET _tidied 1
When adding nodes and links, only the values of the links are visible, graphs are working, nodes are ok. In the debug I see "skipping 4 of 4 points".
DEBUG
DEBUG: [DrawMap@Weathermap.class.php:3367] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing layer 0 DEBUG: [DrawMap@Weathermap.class.php:3367] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing layer 300 DEBUG: [DrawMap@Weathermap.class.php:3408] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Drawing LINK 7-8 DEBUG: [calc_offset@WeatherMap.functions.php:1411] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Numeric Offset found DEBUG: [calc_offset@WeatherMap.functions.php:1411] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Numeric Offset found DEBUG: [simplify_spine@WeatherMap.functions.php:1376] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Skipped 4 points of 4 DEBUG: [draw_straight@WeatherMap.functions.php:1171] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Adding Poly imagemap for LINK:L106:1 DEBUG: [simplify_spine@WeatherMap.functions.php:1376] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Skipped 4 points of 4 DEBUG: [draw_straight@WeatherMap.functions.php:1171] /opt/librenms/html/plugins/Weathermap/configs/dc-interconnects-test.conf: Adding Poly imagemap for LINK:L106:0
And this as basic config:
#########CONFIG
Automatically generated by php-weathermap v0.98b
KEYPOS DEFAULT -1 -1 Traffic Load KEYTEXTCOLOR 0 0 0 KEYOUTLINECOLOR 0 0 0 KEYBGCOLOR 255 255 255 BGCOLOR 255 255 255 TITLECOLOR 0 0 0 TIMECOLOR 0 0 0 SCALE DEFAULT 0 0 192 192 192
SCALE DEFAULT 0 1 255 255 255
SCALE DEFAULT 1 10 140 0 255
SCALE DEFAULT 10 25 32 32 255
SCALE DEFAULT 25 40 0 192 255
SCALE DEFAULT 40 55 0 240 0
SCALE DEFAULT 55 70 240 240 0
SCALE DEFAULT 70 85 255 192 0
SCALE DEFAULT 85 100 255 0 0
SET key_hidezero_DEFAULT 1
End of global section
TEMPLATE-only NODEs:
NODE DEFAULT MAXVALUE 100
TEMPLATE-only LINKs:
LINK DEFAULT BANDWIDTH 100M
regular NODEs:
NODE 7 LABEL jp03.man.asxyz.net INFOURL /device/device=7/ OVERLIBGRAPH /graph.php?height=100&width=512&device=7&type=device_bits&legend=no POSITION 167 136
NODE 8 LABEL jp04.man.asxyz.net INFOURL /device/device=8/ OVERLIBGRAPH /graph.php?height=100&width=512&device=8&type=device_bits&legend=no POSITION 800 128
regular LINKs:
LINK 7-8 WIDTH 10 INFOURL /graphs/type=port_bits/id=7238/ OVERLIBGRAPH /graph.php?height=100&width=512&id=7238&type=port_bits&legend=no TARGET ./jp03.mon.as62167.net/port-id7238.rrd:INOCTETS:OUTOCTETS NODES 7:72:-4 8:-72:4 SET _tidied 1
That's All Folks!