New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

150.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 [CEO Paessler AG]

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 13 or later, as well as partly to previous versions

Acquiring an API Key to Use Google Maps in PRTG


Important notice:

  • In order to use Google Maps in PRTG Network Monitor v13 or later, you need to acquire a new API key for Google Maps API v3! Please see the instructions on Google Developer's Guide.
  • Important: Set Static Maps API in the Google API Console's settings to On:Static Maps APIScroll down to the entry Static Maps APIGoogle Static Maps On
    Set the button to ON
  • You have to run your PRTG web server using https in order for Google Maps to be shown.

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. Go to the Google APIs Console and log in: https://code.google.com/apis/console/
  2. Click on Create a Project...
  3. In the left-hand menu, click on Services
  4. For PRTG v13 or later, set Static Maps API in the Google API Console's settings to On. See the screenshots above for detailed introductions.
    For previous PRTG versions: In the list of All services, locate the Google Maps API v2 service and set its status to On.
  5. Accept the terms of service
  6. In the left-hand menu, click on API Access
  7. If you do not see an API key yet, click on the Create new Browser key... button and click on Create
  8. Leave the field for allowed referers empty 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
  9. You can now copy your personal API key from the Simple API Access section.

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, please open the PRTG Server Administrator. In the Web Server tab, switch the TCP Port to HTTPS (Port 443), click Ok, 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: http://code.google.com/apis/maps/faq.html


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 [CEO Paessler AG]

Last change on May 23, 2014 1:54:53 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 [CEO Paessler AG]



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.