Nagvis: Maps hide hosts under geografical map

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Nagvis: Maps hide hosts under geografical map

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis: Maps hide hosts under geografical map

Post 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
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagvis: Maps hide hosts under geografical map

Post by FCC_Nagios_Support »

Hello

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

Thanks
You do not have the required permissions to view the files attached to this post.
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagvis: Maps hide hosts under geografical map

Post by FCC_Nagios_Support »

This case run but I can not remember the reason
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagvis: Maps hide hosts under geografical map

Post by ssax »

Please PM me the non-working map file from this directory:

Code: Select all

/usr/local/nagvis/etc/maps
Locked