Fresh install of Weathermap for librenms on Ubuntu 22.04 failing

I have a fairly fresh installation of librenms on Ubuntu 22.04, and have been asked to get Weathermap working on it. I followed the available instructions, but something seems incomplete and/or amiss:

I created a first “TEST” map, it’s saved to /opt/librenms/html/plugins/Weathermap/configs/TEST.conf

The first major hitch is that the cron entry doesn’t work as-is, erroring with this when I run it manually:

librenms@librenms:~$ /opt/librenms/html/plugins/Weathermap/map-poller.php

/opt/librenms/html/plugins/Weathermap/map-poller.php: line 1: ?php: No such file or directory
/opt/librenms/html/plugins/Weathermap/map-poller.php: line 3: syntax error near unexpected token (' /opt/librenms/html/plugins/Weathermap/map-poller.php: line 3: // Copyright (C) 2013 Neil Lathwood neil@lathwood.co.uk

which is somewhat solved by changing that to “/usr/bin/php /opt/librenms/html/plugins/Weathermap/map-poller.php” instead. But it gives a bunch of errors, and nothing gets created in the “output” directory.

The full set of errors from a manual test run starts with this:

PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Console/Getopt.php on line 313
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Console/Getopt.php on line 313
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Console/Getopt.php on line 313
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/Console/Getopt.php on line 313
ERROR: realpath(10.1.1.3/port-id558.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 109-107, target: ./10.1.1.3/port-id558.rrd:INOCTETS:OUTOCTETS on config line 100 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.5/port-id1769.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 309-107, target: ./10.1.1.5/port-id1769.rrd:INOCTETS:OUTOCTETS on config line 109 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.1/port-id1550.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 64-107, target: ./10.1.1.1/port-id1550.rrd:INOCTETS:OUTOCTETS on config line 118 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.6/port-id1974.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 107-node08624, target: ./10.1.1.6/port-id1974.rrd:INOCTETS:OUTOCTETS on config line 127 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.6/port-id1975.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 309-node08624, target: ./10.1.1.6/port-id1975.rrd:INOCTETS:OUTOCTETS on config line 136 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.1/port-id1551.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 64-107a, target: ./10.1.1.1/port-id1551.rrd:INOCTETS:OUTOCTETS on config line 145 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.3/port-id556.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 109-107a, target: ./10.1.1.3/port-id556.rrd:INOCTETS:OUTOCTETS on config line 154 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.5/port-id1770.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 309-107a, target: ./10.1.1.5/port-id1770.rrd:INOCTETS:OUTOCTETS on config line 163 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.128/port-id307.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 64-37, target: ./10.1.1.128/port-id307.rrd:INOCTETS:OUTOCTETS on config line 172 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.7/port-id2572.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 251-28, target: ./10.1.1.7/port-id2572.rrd:INOCTETS:OUTOCTETS on config line 180 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.7/port-id2573.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 251-28a, target: ./10.1.1.7/port-id2573.rrd:INOCTETS:OUTOCTETS on config line 188 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
ERROR: realpath(10.1.1.8/port-id3623.rrd): No such file or directory
WARNING: configs//TEST.conf: RRD ReadData: At least one of your DS names (INOCTETS and OUTOCTETS) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]
WARNING: configs//TEST.conf: ReadData: LINK 284-198, target: ./10.1.1.8/port-id3623.rrd:INOCTETS:OUTOCTETS on config line 196 of configs//TEST.conf had no valid data, according to WeatherMapDataSource_rrd
PHP Deprecated: Function strftime() is deprecated in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 3287
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 392.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 275.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 513.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 394.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 638.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 425.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 450.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 339.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 456.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 275.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 640.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 298.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 514.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 352.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 703.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 317.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 701.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 394.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 467.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 339.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 473.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 275.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 395.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 278.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 508.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 408.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 633.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 439.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 543.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 133.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 496.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 201.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 186.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 89.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 186.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 89.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 96.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 428.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 232.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 406.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 376.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 172.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 386.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 656.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 437.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 659.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 268.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 110.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 168.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 37.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719

OK, I’m getting warmer, but still need help.

So I can’t say what’s going on entirely, but it seems that having followed the instructions for installing Weathermap from librenms (link Weathermap - LibreNMS Docs for reference), not everything is actually configured correctly by default?

For example, when I’m creating a new map, I have to explicitly set in its ‘Map Properties’ the ‘Output image filename’ as (for example) ‘output/TEST.png’ and ‘Output HTML filename’ as ‘output/TEST.html’, rather than rely on the autogenerated results.

I’m still boggled what to do about the rrd files. Apparently it is looking for the files to be in ‘/opt/librenms/html/plugins/Weathermap//port-idXXX.rrd’ instead of the actual directory ‘/opt/librenms/rrd//port-idXXX.rrd’

My manual workaround is immensely tedious, as I would have to manually edit EVERY link in the map thusly:

  1. in directory ‘/opt/librenms/html/plugins/Weathermap’ make a link:
    root# ln -s …/…/…/rrd rrd

  2. for EVERY link in the map, manually change the autogenerated ‘Data Source’ from “.//port-idXXX.rrd:INOCTETS:OUTOCTETS” to “./rrd//port-idXXX.rrd:INOCTETS:OUTOCTETS”

Obviously this is overly tedious for any normal-sized network.

What do I have to do so that the normal Weathermap edit interface works properly, where one just selects the device’s interface, and everything works?