Hello, New to Nagios XI and have setup the the vm appliance but am having problems with the Google Maps Plug-in.
- The appliance is in a DMZ and is configured to utilize a proxy for internet connectivity.
- All monitored hosts are local or accessible over a vpn from the dmz where the XI appliance exists.
- Installing the google plug-in was successful.
- I have added lat/long for two devices in different locations.
- I have set "Map Defaults" to 41.881832, -87.623177 with "Default Zone Level" 5
- 3 agents configured with
40.789543,-74.056534
35.787743,-78.644257
27.964157,-82.452606
- When i bring up the google map the earth map it shows up for about 2 seconds with the status icons for the hosts I have added but then refreshes to a page that says
Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details.
I have removed the lat/long for the 3 hosts above but renders the same results regardless of what i do.
Appreciate your feedback!!
Nagios XI - Google Maps Plugin
Re: Nagios XI - Google Maps Plugin
It is possible that you might need to whitelist *.googleapis.com and *.gstatic.com. See the post below:
http://stackoverflow.com/questions/9581 ... nd-a-proxy
http://stackoverflow.com/questions/9581 ... nd-a-proxy
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI - Google Maps Plugin
Thanks for the quick feedback. No issues with white listing and added to browser and java security settings. Page loads for about 2 seconds and then goes gray every time. Is there a way to enable debug logging or try and hit a page manually to troubleshoot this further?
Re: Nagios XI - Google Maps Plugin
If you open the web browser console and reload the page are there Javascript errors in the console? Also you can check the apache error log here: /var/log/httpd/error_log
/Luke
Re: Nagios XI - Google Maps Plugin
I did not find any errors in the /var/log/httpd/error_log , access_log or /var/log/messages. I was able to find errors using f12 debug tools below.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ jquery-1.11.2.min.js:4:25327
"Google Maps API error: MissingKeyMapError https://developers.google.com/maps/docu ... -map-error" js:34:391
"Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys" util.js:208:12
"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/docu ... t-required"
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ jquery-1.11.2.min.js:4:25327
"Google Maps API error: MissingKeyMapError https://developers.google.com/maps/docu ... -map-error" js:34:391
"Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys" util.js:208:12
"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/docu ... t-required"
Re: Nagios XI - Google Maps Plugin
Does this happen for all browsers, versions, and across operating systems? It sounds like your browser is disabling some functionality for security purposes, which in a DMZ + VPN + proxy environment seems likely.
Former Nagios employee
Re: Nagios XI - Google Maps Plugin
rh2832, did you find a solution to this? I also seem to be having the identical issue.
Thanks!
Thanks!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios XI - Google Maps Plugin
@rh2832,
What version of XI are you running? If this is a bug, we need to make sure it exists in the most recent version before reporting. Thanks!
What version of XI are you running? If this is a bug, we need to make sure it exists in the most recent version before reporting. Thanks!
Re: Nagios XI - Google Maps Plugin
Not wanting to hijack the thread but updated to Nagios 5.3.2 this AM to see if it solved the issue and did not. The Google Map component is at 1.5.0 and says up to date. Attached is a screen grab of what @rh2832 was referring to in the f12 debug. Just hoping to keep this issue moving forward.
Thanks!
Thanks!
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios XI - Google Maps Plugin
@rh2832, what happens if you go to https://www.google.com/maps/ from the same browser? What about http://maps.google.com?