Page 1 of 1

Nagvis: Maps hide hosts under geografical map

Posted: Wed Mar 24, 2021 9:39 am
by FCC_Nagios_Support
Hello,
I am a beginner in Nagvis.
I try to picture a geographical world map with my hosts represented on it.
But:
Whe I create the map and I add the host/equipment, this one is hidden by the geographical map under it.
How can I represent the map and place hosts/equipment over it in zones.
What It happens is that when I added one host, this one appear over and hidden by the map

Many Thanks

Re: Nagvis: Maps hide hosts under geografical map

Posted: Wed Mar 24, 2021 6:14 pm
by ssax
You would need to set the z index value to be higher than the background image when adding the objects:
The z option defines the order of icons which are stacked on top of each other. The highest value will be displayed on top. The background image has the value of 0. So valid values should be above or equal 1. Note: To prevent conflicts with the header navigation you should keep this value below 100..
Taken from here:

http://docs.nagvis.org/1.9/en_US/map_co ... ption.html

Here's a good z-index primer:

https://developer.mozilla.org/en-US/doc ... SS/z-index

Re: Nagvis: Maps hide hosts under geografical map

Posted: Thu Mar 25, 2021 8:55 am
by FCC_Nagios_Support
Hello

I can not, see attached
The map is the background I sopose

Thanks

Re: Nagvis: Maps hide hosts under geografical map

Posted: Thu Mar 25, 2021 9:42 am
by FCC_Nagios_Support
This case run but I can not remember the reason

Re: Nagvis: Maps hide hosts under geografical map

Posted: Thu Mar 25, 2021 6:23 pm
by ssax
Please PM me the non-working map file from this directory:

Code: Select all

/usr/local/nagvis/etc/maps