As you can see I add some nodes and a link.
Then I set file and image name using png and html extensions and the output folder as recomended.
But …
After pressing submit , there is nothing at the output folder.
Also , at the sentense:
In the Weathermap Plugin page, you will see the output maps. Right click on one of the maps and click on copy image address .
cd /opt/librenms/html/plugins/Weathermap/
php map-poller.php
paste the output back here.
I’ve had issues this week, turns out the very first problem was Weathermapper plugin setting 0 on image size, so I’ve gone from nothing to a fully functioning map in a day.
I would install the weather mapper plugin, get it to generate the configuration for you and then tweak it via the editor or CLI, that’s what I did.
[root@librenms Weathermap]# su librenms
bash-4.2$ pwd
/opt/librenms/html/plugins/Weathermap
bash-4.2$ php map-poller.php
PHP Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
PHP Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='.:/usr/share/pear:/usr/share/php') in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
PHP Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
PHP Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='.:/usr/share/pear:/usr/share/php') in /opt/librenms/html/plugins/Weathermap/weathermap.php on line 8
b
Im testing this in a non updated server.
Now I will test it on my production server wich is updated.
Lets see result.
Thanks for your help.
This is my new output.
Server is up to date , and had to manually install php-pear.-
[root@monitoreo_wiber Weathermap]# su - librenms
Last login: Fri Aug 14 11:08:21 -03 2020 on pts/0
-bash-4.2$ /opt/librenms/html/plugins/Weathermap/map-poller.php
WARNING: configs//traffico_core.conf: OVERLIBGRAPH is used, but HTMLSTYLE is static. This is probably wrong. [WMWARN41]
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 778
WARNING: configs//traffico_core.conf: Angled text doesn't work with non-FreeType fonts [WMWARN02]
WARNING: configs//traffico_core.conf: Angled text doesn't work with non-FreeType fonts [WMWARN02]
Just three things I can not tweak:
1 -How to make curved links ?
2 - How to show current traffic instead of percent value ?
3 - Hover on links is not working (should see traffic graph).
I checked:
a - Other browsers … same result.
b - ‘Hover’ Graph URL is ok , for instance: http://12.30.6.106/graph.php?height=100&width=512&id=129&type=port_bits&legend=no
If I browse this, I can see the graph ok
btw: Link to graph does work if when click.