Nagios XI - Google Maps Plugin
Re: Nagios XI - Google Maps Plugin
Tried the component in multiple browsers (Chrome,Firefox,IE) all have same issue but all three browsers can get to google.com/maps and maps.google.com just fine.
-
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
We have ourselves a good-news, bad-news situation here. Mostly good news though.
Bad News: You need to remove the old Google Maps component.
Good News: I have attached the updated Google Maps component.
To install, first, download the component. Then, go to Admin -> Manage Components (under System Extensions). Next browse for the new, downloaded Google Maps component. Click "Upload & Install".
Then, you'll need to configure from Home -> Google Maps (under Maps).
Please let us know if this does not resolve your issue.
Bad News: You need to remove the old Google Maps component.
Good News: I have attached the updated Google Maps component.
To install, first, download the component. Then, go to Admin -> Manage Components (under System Extensions). Next browse for the new, downloaded Google Maps component. Click "Upload & Install".
Then, you'll need to configure from Home -> Google Maps (under Maps).
Please let us know if this does not resolve your issue.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI - Google Maps Plugin
Same result for me. Map appears for a brief second then goes back to the grey "Oops!" screen.
-
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
@kcarlson, could you clear your browser cache? Maybe Google has a cookie or something from before the API change.
Re: Nagios XI - Google Maps Plugin
I am having the same issue with my Nagios XI test installation.
I have tried multiple browsers and I have removed the old Google Map component and installed the new one you attached. I cleared the browser cache before I retried. Unfortunately I have the same Oops screen.
I am having no issues surfing to https://www.google.com/maps/ and http://maps.google.com. For both sites I can see the map clearly.
I have tried multiple browsers and I have removed the old Google Map component and installed the new one you attached. I cleared the browser cache before I retried. Unfortunately I have the same Oops screen.
I am having no issues surfing to https://www.google.com/maps/ and http://maps.google.com. For both sites I can see the map clearly.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI - Google Maps Plugin
I also cleared my browser cache this morning to no luck.
-
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
Can all three of you guys PM me your profiles? Admin > System Config > System Profile and click the Download Profile button in the top right corner.
Also, if you could download the version of the Google Map component from the Manage Components screen and upload that (in thread or via PM). I just want to make sure it's uploading properly. I know it gives version #s on the Manage Components screen, but I just want to make sure all three of you have the same exact version.
Thanks!
UPDATE: component and profile received from @kcarlson
Also, if you could download the version of the Google Map component from the Manage Components screen and upload that (in thread or via PM). I just want to make sure it's uploading properly. I know it gives version #s on the Manage Components screen, but I just want to make sure all three of you have the same exact version.
Thanks!
UPDATE: component and profile received from @kcarlson
-
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
You are going to generate an Google Maps API key (generating a key is free). Documentation is at https://developers.google.com/maps/docu ... pi-key#key
Once you have the key, in map.php, you will need to add the key to the URL in the javascript call
Just below the anchor in https://developers.google.com/maps/docu ... pi-key#key there is an example.
We need to update our documentation as well, to make that more clear. To be clear, this is a change in the way Google works.
Please let us know if that does not work for you.
Once you have the key, in map.php, you will need to add the key to the URL in the javascript call
Code: Select all
<!--Replace below line with google's premier client ID script for appropriate commercial use-->
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>We need to update our documentation as well, to make that more clear. To be clear, this is a change in the way Google works.
Please let us know if that does not work for you.
Re: Nagios XI - Google Maps Plugin
That took care of it! Just to clarify what was done after getting the API key I replaced
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sen ... "></script>
with
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=[b]YourAPIKey[/b]"></script>
Thanks for all the help!
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sen ... "></script>
with
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=[b]YourAPIKey[/b]"></script>
Thanks for all the help!
-
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
Fantastic! For clarity, we aren't 100% sure what is happening because we weren't able to reproduce it, but we think there must be some grace period without the API, which is why it worked for a bit after the June announcement. It's possible it is related to the proxy in some way, but again, we were unable to reproduce it.kcarlson wrote:That took care of it!
Of course, we'll leave this open for OP and @Pachinko to report results.