What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How do I get a Google Maps API key for use in PRTG?

Votes:

0

I need an API key for Google Static Maps API to use it in PRTG.

How do I get one?

api geo-maps google google-maps help key maps

Created on Feb 17, 2012 12:07:03 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Sep 11, 2013 9:00:17 AM by  Gerald Schoch [Paessler Support]



4 Replies

Accepted Answer

Votes:

0

This article applies as of PRTG 22

Acquiring an API key to use Google Maps in PRTG


Important notice:

  • To use Google Maps in PRTG Network Monitor version 13 or later, you need to acquire a new API key for Google Maps API v3.
  • You must Enable the Static Maps API in the Google API Console's settings.
  • You must run your PRTG web server as secure HTTPS server to use Google Maps. By default, PRTG version 18.3.42 and later uses the geocode of HERE Maps, because Google will not allow keyless access to the geocoding API in the future. Geocoding is used to convert the addresses that you enter in the Location (for Geo Maps) settings into geographic coordinates to show the position of your monitoring objects on the geographical map.
    If you still want to use the geocoding API of Google, you must enable your Maps Static API access key for the Geocoding API as well.

We recommend that you do not use Google Maps Static API. If you use this option, geographical maps will be shown with limited functionality.


Step 1: Get a Google account

First you need a Google account. If you do not have one, you can create one here: https://accounts.google.com/signup

Step 2: Use the Google APIs console to create your key

Important notice: As of PRTG 13, use the Google Maps Static API service. See above.
  1. Open the Google APIs console and log in: https://console.cloud.google.com
  2. Create a project or open an existing one.
  3. Open the API Library to show all Google APIs.
  4. In the section Maps, click Maps Static API (you might need to expand the list via View all to see the entry).
  5. Click Enable to use the Google Maps Static API.
  6. Open the Credentials tab and click Create credentials. Use the option API key.
  7. Do not restrict the key (None) or provide the domain of your PRTG installation. For example, get it from the URL of your PRTG installation: https://<provide this part>/group.htm?id=0&tabid=1
  8. Copy your API key.

Note: To use the Google Geocoding API instead of the HERE Maps geocoding in PRTG 18.3.42 or later, also enable Geocoding API in the Google console and use the API key that you generated for the Maps Static API before.

Step 3: Enter API key in PRTG

  1. Copy your API key from the Google page.
  2. In the PRTG web interface, select Setup | System Administration | User Interface (System & Website in previous versions) from the main menu.
  3. In the Geo Maps section, select a Map Type and paste your API key into the Google Maps Static API Key field.
  4. Save your settings.

Step 4: Switch PRTG web server to SSL

Geographical maps can only be shown if the PRTG web server runs using HTTPS on port 443. To apply this setting, open Setup | System Administration | User Interface from the main menu bar in the PRTG web interface. In the section PRTG Web Server, switch the TCP Port for PRTG Web Server to Secure HTTPS server (port 443), click Save, and confirm the restart of the Windows services.

Done

PRTG now shows the location of groups and devices in maps if there is location information available in the object settings. No geographical maps are displayed if you do not provide location information in PRTG.

Optional: Delete browser cookies

If you still do not see Google Maps in the PRTG web interface, delete all cookies in the browser you use to access the PRTG web interface, or use a different browser.

More

  • To learn more about the Maps API, see this FAQ.

Google maps do not work in deprecated versions PRTG 7 through 9.2.0.2175. Make sure to update PRTG to the latest version.

Created on Feb 17, 2012 12:14:40 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Jan 2, 2023 2:55:46 PM by  Brandy Greger [Paessler Support]



Votes:

0

I followed this procedure but still the map is not enabled.

Created on Feb 21, 2012 3:40:52 AM



Votes:

0

If I use an old 80 characters key ; this works . I use new keys (which are shorter) geo maps become inactive.

Created on Feb 21, 2012 4:19:13 AM



Votes:

0

Please make sure that you use the latest build. As mentioned above: "The new keys are shorter and they are not recognized as valid keys by PRTG before version 9.2.0.2175."

This new build will be available for Auto-Update/download later today.

Created on Feb 21, 2012 10:09:18 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.