New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


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

Votes:

0

Your Vote:

Up

Down

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] (10,834) 3 4

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



4 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 18 or later

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!
  • Important: You have to Enable the Static Maps API in the Google API Console's settings!
  • You have to run your PRTG web server as Secure HTTPS server to use Google Maps.
  • PRTG version 18.3.42 and later uses the geocode of HERE Maps by default because Google will forbid a keyless access to the geocoding API in 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 geo map.
    If you still want to use the geocoding API of Google, you have to enable your Maps Static API access key for the Geocoding API as well.

We recommend that you do not use Google Static Maps! If you use this option. Geo 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/NewAccount

Step 2: Use the Google APIs Console to Create Your Key

Important notice: As of PRTG version 13, use the Google Maps API v3 service. See above.

  1. Open the Google APIs console and log in: https://console.developers.google.com
  2. Create a project or open an existing one.
  3. Open the API Library to show all Google APIs.
  4. In section Maps, click Maps Static API (you might have to expand the list with 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 version 18.3.42 or later, additionally 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 (Google Maps Integration) section, select one Map Type and paste your API key into the Google Maps API Key (required) field.
  4. Save your settings.

Step 4: Switch Web Server to SSL

GeoMaps can only be shown when running the PRTG web server 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 section Web Server, switch the TCP Port for Web Server to Secure HTTPS server (Port 443), click Save, and confirm the restart of Windows services.

Done

From now on, PRTG will show the location of groups and devices in maps if there is respective location information available in the objects' settings. There will be no GeoMaps 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, please delete all cookies in the browser you use to access the web interface, or use a different browser.

More

To learn more about the Maps API, please see the FAQ from Google: https://developers.google.com/maps/faq


Google maps will not work in deprecated PRTG versions 7 through 9.2.0.2175. Please update PRTG to the current version.

Created on Feb 17, 2012 12:14:40 PM by  Dirk Paessler [Founder Paessler AG] (10,834) 3 4

Last change on Jul 4, 2018 12:35:51 PM by  Gerald Schoch [Paessler Support]



Votes:

0

Your Vote:

Up

Down

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

Created on Feb 21, 2012 3:40:52 AM by  akhalighi (0) 1



Votes:

0

Your Vote:

Up

Down

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 by  akhalighi (0) 1



Votes:

0

Your Vote:

Up

Down

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] (10,834) 3 4



Please log in or register to enter your reply.


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.