NagiosXI 5.6.1 on RHEL 7.5
The world Map componant in XI looks great. All of my locations are entered and show up correctly. However, the default view is zoomed in too far, and I cannot see all locations. In looking through the menus, componants area, and Nagios knowledgebase, I cannot seem to find any way to set the default zoom level.
In addition to the zoom level, is there a way to set the threshold of locations on the map that must be reached before auto grouping them together? I love this feature, but in some places it groups with pin points that I feel should be far enough to leave separate.
World Map Question
World Map Question
--
Griffin Wakem
Griffin Wakem
Re: World Map Question
In /usr/local/nagiosxi/html/includes/components/map/scripts/main.js, you'll find a section like:
10 is the default zoom level and lowering the value will cause the default to be zoomed out. In my testing browsers are pretty reluctant to reload javascript files so you may need to clear the browser cache out/restart it a couple times before the changes take effect. Also be aware that updates the the wizard may overwrite this setting.
Regarding the clustering, do you hvae some example long/lat pairs and some screenshots? I'll need to dig in a bit more to see if we can adjust the clustering threshold and would like some examples to test with.
Code: Select all
map = L.map('map_container', {
center: default_coords,
zoom: 10,
layers: [selected_layer]
});Regarding the clustering, do you hvae some example long/lat pairs and some screenshots? I'll need to dig in a bit more to see if we can adjust the clustering threshold and would like some examples to test with.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: World Map Question
That did the trick with the zooming, thanks!
For the coordinates, I will try and pull some examples. WHat would be the best way to get them to you? PM?
For the coordinates, I will try and pull some examples. WHat would be the best way to get them to you? PM?
--
Griffin Wakem
Griffin Wakem
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: World Map Question
@gwakem, Please PM me and @cdienger a few coordinates of hosts that you don't think should be clustered together. We'll test them out in the lab and get back to you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.