After running the following command, I get huge amount of errors, please advise
[root@dl1-librenms-srv01 Weathermap]# ./weathermap.php --config configs/dl1.map.conf --output output/dl1.map.png --htmloutput output/dl1.map.html
PHP Deprecated: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 109
PHP Deprecated: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 154
PHP Deprecated: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 154
PHP Deprecated: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 154
PHP Deprecated: Non-static method PEAR::isError() should not be called statically in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 64
WARNING: configs/dl1.map.conf: OVERLIBGRAPH is used, but HTMLSTYLE is static. This is probably wrong. [WMWARN41]
WARNING: configs/dl1.map.conf: Target ./dl1ert01.pan.local/port-id474.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 7-8, target: ./dl1ert01.pan.local/port-id474.rrd:INOCTETS:OUTOCTETS on config line 111 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ert01.pan.local/port-id463.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 7-node05739, target: ./dl1ert01.pan.local/port-id463.rrd:INOCTETS:OUTOCTETS on config line 119 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ert02.pan.local/port-id409.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 8-node05799, target: ./dl1ert02.pan.local/port-id409.rrd:INOCTETS:OUTOCTETS on config line 127 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ert01.pan.local/port-id465.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 7-node05840, target: ./dl1ert01.pan.local/port-id465.rrd:INOCTETS:OUTOCTETS on config line 135 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ert02.pan.local/port-id411.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 8-node05858, target: ./dl1ert02.pan.local/port-id411.rrd:INOCTETS:OUTOCTETS on config line 143 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ets01.pan.local/port-id789.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 14-7, target: ./dl1ets01.pan.local/port-id789.rrd:INOCTETS:OUTOCTETS on config line 151 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ets01.pan.local/port-id837.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 14-15, target: ./dl1ets01.pan.local/port-id837.rrd:INOCTETS:OUTOCTETS on config line 159 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1ets02.pan.local/port-id737.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 15-8, target: ./dl1ets02.pan.local/port-id737.rrd:INOCTETS:OUTOCTETS on config line 167 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1apdmzfw01b.pan.local/port-id277.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 5-14aaaaa, target: ./dl1apdmzfw01b.pan.local/port-id277.rrd:INOCTETS:OUTOCTETS on config line 175 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1apdmzfw01b.pan.local/port-id277.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 5-15, target: ./dl1apdmzfw01b.pan.local/port-id277.rrd:INOCTETS:OUTOCTETS on config line 184 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1apdmzfw01b.pan.local/port-id291.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 5-15a, target: ./dl1apdmzfw01b.pan.local/port-id291.rrd:INOCTETS:OUTOCTETS on config line 193 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
WARNING: configs/dl1.map.conf: Target ./dl1apdmzfw01b.pan.local/port-id291.rrd doesn’t exist. Is it a file? [WMRRD06]
WARNING: configs/dl1.map.conf: ReadData: LINK 5-14, target: ./dl1apdmzfw01b.pan.local/port-id291.rrd:INOCTETS:OUTOCTETS on config line 202 of configs/dl1.map.conf had no valid data, according to WeatherMapDataSource_rrd
PHP Notice: Undefined property: WeatherMap::$basehref in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 287
I found some article regarding the floating graphs, please see below the description
I need help to understand how I can fix the mouse navigation in the weather map to see the floating graph
When I use OVERLIBGRAPH and the
pointer is near the right side of the screen, the floating graph
disappears off the side of the screen…If you set OVERLIBWIDTH and OVERLIBHEIGHT correctly, then
Weathermap can make a better guess about whether to show the map to the
left or right. Be careful to set them to the correct value, or you may
see strange ‘flashing’ graphs
Yep, when I run the following command this errors appears
/weathermap.php --config configs/dl1.map.conf --output output/dl1.map.png --htmloutput output/dl1.map.html
But even though the weathrmap graph is getting populated
The only thing which is bothering me, that by navigating the mouse it doesn’t show the graphs in a new server, in old deployment it was showing the floating graph by navigating the mouse to the link without pressing on the link
Yep, it was done already according to the guide,
My issue is that whenever I navigate to the link on the weather-map it doesn’t show floating graph
Do you see the graphs by navigating to the map? or you need to click on the link?
It’s not working on the page includes in the LibreNMS interface, but if you click on the graph you’re redirected to the direct extracted file and over is working.
Please see the picture attached, that what I mean by navigating the mouse to the link
In a new system I deployed yesterday, it doesn’t work in this way ,I’ve to click on the link to see the graphs
Do you have the same issue?
I tried with mine and it doesn’t give me the floating graph either. I tested with three different browsers. So im not sure why the floating graph is not working with Weathermaps.
I did find this tho.
I’ve defined some OVERLIBGRAPH lines, but nothing appears in the map HTML when I use the command-line tool.
For historical reasons, the default format for HTMLSTYLE is ‘static’ which avoids javascript. To get the overlib graphs to appear you need to have ‘HTMLSTYLE overlib’ near the top of your map configuration file.
Yep, I saw this article, and all looks good on my side, for some reason in the previous libernms deployment the feature of floating graph worked, but in other deployments it’s not