Page 1 of 1
Google Map Issue
Posted: Wed May 28, 2014 4:53 am
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
Re: Google Map Issue
Posted: Wed May 28, 2014 1:31 pm
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.
Re: Google Map Issue
Posted: Wed May 28, 2014 6:24 pm
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?
Re: Google Map Issue
Posted: Thu May 29, 2014 12:37 am
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
Re: Google Map Issue
Posted: Thu May 29, 2014 1:28 am
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.
Re: Google Map Issue
Posted: Thu May 29, 2014 1:46 am
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.