Navigation Menu for Weathermaps

Tags: #<Tag:0x00007f06439e3d38> #<Tag:0x00007f06439e3c48>

The PHP Weathermap ‘plugin’ for Observium has a custom navbar include that allows quick selection of maps that have been created. Is this something that could be easily incorporated into LibreNMS?

I submitted this issue with the plugin creator (https://github.com/librenms-plugins/Weathermap) and he suggested that I post it over here.

Thanks!

Hi

Has any work come from this I have one 20 maps and this would help alot.

No, we would need to someone from community to contribute code for this.

Hello

I am thinking of a scrollable menu that would list all Weathmaps under the “Plugins/Weathermaps” menu.
For this to happen, we need first to have a PR approved :

Then if it is accepted, I will submit a PR for Weathermap plugin itself.

Bye

1 Like

Hello

I have a new version of Weathermap plugin with a submenu including all the maps. Code is still a little bit dirty but if somebody (with a lot of maps) would like to test …

PipoCanaja

Hi

I have 5 maps is that enough?

Thanks

Hello

You can have a look at the code here and use it:
https://github.com/PipoCanaja/Weathermap/tree/WeatherMap_Submenu_for_Map_lists

Be carefull, your LibreNMS code should be recent enough to have this patch in :

Let me know how it goes. If we can have a few more testers before I send a pull request for the plugin itself.

Bye

2 Likes

You should submit that as a PR.

1 Like

I will. I would like to have another “it works” before :wink:

Hello @laf

PR submitted.

Bye
PipoCanaja

Merged, thanks very much :slight_smile: