Google Map Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Google Map Issue

Post by rajasegar »

Nagios XI 2012R2.9
RHEL 6.5 x64
Manual Install

I have installed the Google Map components.
However I am facing the following issues.

1) I have over 1000 hosts. With this many hosts the whole map will turn into tags.
Is it possible to show only problem hosts or a single tag to indicate if all is up or any one of them is down

2) Host Dashboard and Google Map does not refresh simultaneously.
I have added the Host Dashboard and Google Map in the home dashboard.
Host dashboard turns red but Google Map does not refresh and takes a very long time to update.
The same issue when it turn back to OK.

Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Google Map Issue

Post by tmcdonald »

After spending some time looking over the component code I am beginning to think this would fall under custom development. I thought the issue would be a quick fix but I was not able to get it working. There is no option in the component itself to display only downed hosts.

As for the refresh issue, I believe the Google Maps component refreshes at a 60-second interval which is different from the dashboard. They are making separate calls so having them sync up would mean editing the Google Maps code to change the refresh to match the dashboard.
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Google Map Issue

Post by rajasegar »

tmcdonald wrote:After spending some time looking over the component code I am beginning to think this would fall under custom development. I thought the issue would be a quick fix but I was not able to get it working. There is no option in the component itself to display only downed hosts.

As for the refresh issue, I believe the Google Maps component refreshes at a 60-second interval which is different from the dashboard. They are making separate calls so having them sync up would mean editing the Google Maps code to change the refresh to match the dashboard.
Any other options besides google map which can achieve the same behaviour?

Can you please advice where to change the refresh rate for Google Map component?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Google Map Issue

Post by Fred Kroeger »

What would make Google Maps more useful is the ability to display HostGroups instead of hosts, so you would have just the one tag for a number of hosts in one geographic location.
The only other option is to use Nagvis with a map background - but this isn't dynamic in that you have to update the Nagvis map manually every time you add another hostgroup.
Nagvis however would get rid your time lag / sync issues.

regards... Fred
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Google Map Issue

Post by rajasegar »

Fred Kroeger wrote:What would make Google Maps more useful is the ability to display HostGroups instead of hosts, so you would have just the one tag for a number of hosts in one geographic location.
The only other option is to use Nagvis with a map background - but this isn't dynamic in that you have to update the Nagvis map manually every time you add another hostgroup.
Nagvis however would get rid your time lag / sync issues.

regards... Fred
Thanks for the update. I will explore Nagvis.

I clicked on Nagvis link in NagiosXI and this error comes up.
nagvis.png
Any docs or assistance on how to get started on this would be appreciated.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Google Map Issue

Post by rajasegar »

Solved the problem above with instructions from
http://support.nagios.com/forum/viewtop ... 35&p=62339
nagvis_demo.png
Now need to figure out how to set up the map, coordinates and alerts mechanisms.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked