nbuchwitz / icingaweb2-module-map

An openstreetmap based map module for host and service state visualization with Icinga Web 2
https://icinga.com/docs/icinga2/latest/doc/13-addons/
GNU General Public License v2.0
81 stars 17 forks source link

Map filtering in dashboards don't work #51

Closed Damien750 closed 6 years ago

Damien750 commented 6 years ago

I Nicolai,

Thanks again for your quick fix on map filters. I am now trying to add the filtered maps on dashboards, but can't get it to work: I always see all of my hosts.

Here are the steps to reproduce:

At first, filter seems to work. But if you leave the dashboard and return on it, the filter is not applyed and you see all of your hosts in the dashlet.

If you try to directly create a dashlet with a "filtered" URL (for instance "http://monitoring.myserver.com/map?hostgroup=myhostgroup"), the map is not filtered.

Can you reproduce it?

I'm working with:

Icinga is installed on CentOS 7.4 server, up to date. Data are stored in a MariaDB 15.1 database. My browser is Google Chrome 63.

Thanks for your help!

nbuchwitz commented 6 years ago

Hi,

This is indeed a bug. I just uploaded a fix. Please test the current GIT Master and give me feedback.

Damien750 commented 6 years ago

Hi Nicolai, Thanks for the fix. It seems to work fine now!