google map with no display

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
relateqld
Posts: 41
Joined: Sun Nov 11, 2012 8:15 pm

google map with no display

Post by relateqld »

We are running nagios xi 2012 R1.2 with centos 6.3, I installed google map components and dashlet. But when I open dashlet, there is no display. anyone else has same problem?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: google map with no display

Post by scottwilkerson »

Can we tail the httpd error_log to see any errors that may have emerged while trying to access this page

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
relateqld
Posts: 41
Joined: Sun Nov 11, 2012 8:15 pm

Re: google map with no display

Post by relateqld »

tried to monitor httpd error, but it didn't show any message while accessing the google map page. I attached the google map screenshot where you can see, there only empty page.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: google map with no display

Post by lmiltchev »

Did you try setting the map defaults? Do you see anything when you click on "Set Map Defaults" in the upper right corner?
Be sure to check out our Knowledgebase for helpful articles and solutions!
relateqld
Posts: 41
Joined: Sun Nov 11, 2012 8:15 pm

Re: google map with no display

Post by relateqld »

Yes, I can see the "set map default", but after that, no difference
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: google map with no display

Post by mguthrie »

I've seen this before with improperly formatted coordinates for a host. Can you right-click on the page, select "View Frame Source", and post the page source inside a set of code tags?
relateqld
Posts: 41
Joined: Sun Nov 11, 2012 8:15 pm

Re: google map with no display

Post by relateqld »

Please find the source code in attachment.
relateqld
Posts: 41
Joined: Sun Nov 11, 2012 8:15 pm

Re: google map with no display

Post by relateqld »

rename it to txt file
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: google map with no display

Post by mguthrie »

The google maps component uses the notes field for the geo-coordinates for hosts, and it's *supposed* to filter out invalid coordinates, but it looks like there's a bug in that filtering, which is causing the map image to break. We'll post an updated version of the component on this thread with the fix once we get it updated.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: google map with no display

Post by mguthrie »

Try the attached revision of the component. It should filter the notes data properly so that the map displays correctly.
You do not have the required permissions to view the files attached to this post.
Locked