WUG.ninja

Search

Integrate WhatsUp® Gold with Google Maps

You can copy the code below or download all files necessary here (v2016 and below)

You can copy the code below or download all files necessary here (v2017 and above)

Note: Google now requires credit card information to be on file with your API key

These were originally written by someone else who I would like to credit. I worked off the original and made a new one which could show devices. [Need to get name] I then looked into the Google Maps API further and found a useful function someone had made, markerwithlabel.js. I can not take credit for either of those things, so please send thanks to Gary Little for markerwithlabel.js. markerwithlabel.js is freely and publicly available from here.

Instructions:

  • Download the proper zip file aboveile, and and unzip. Make sure GoogleMaps_Devices.asp or GoogleMaps_Groups.asp [depending on which code you copied] to <Your install directory>IpswitchWhatsUp\HTML\NmConsole\DeviceManagement\DeviceList [For v2017 and up, copy the file to Ipswitch\WhatsUp\HTML\NmConsole]
  • Copy labelwithmarker.js to same directory
  • Make a dashboard with this information –> Columns: 1 –> Width: Max supported by monitor (1280 for example) –> Add Content: Free Form Text/HTML report
  • Menu -> Configure on the Free Form Text/HTML report. Make sure to click ‘Source Edit’ button
  • For device dashboard, copy and paste this:
<iframe src="/NmConsole/DeviceManagement/DeviceList/GoogleMaps_Devices.asp" style="border:0px #FFFFFF none;" name="dash_frame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="700px" width="100%"></iframe>
  • For the group dashboard, copy and paste this:
<iframe src="/NmConsole/DeviceManagement/DeviceList/GoogleMaps_Groups.asp" style="border:0px #FFFFFF none;" name="dash_frame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="700px" width="100%"></iframe>
  • To add devices to the devices map: Add a device attribute to the device in WUG using the attribute name ‘LatLong’ with the value being x,y (Latitude,Longitude)
  • To add groups to the group map: Right-click the group and select properties. Update the description with the value x,y (Latitude,Longitude)
  • http://itouchmap.com/latlong.html — I use this site to grab the latitude,longitude information.

Share This Post

More To Explore

WhatsUp Gold

WhatsUp Gold Tip #3: Monitor your systems

Focus on what is important It’s nice to have detailed monitoring information for every system on your network, but if a non-critical system is unavailable

Blog Posts

WhatsUp Gold Tip #2: Discover your systems

Introduction When you finish adding your credentials to WhatsUp Gold, the next step to success is configuring the discovery process in WhatsUp Gold to work for you.

credentials
Blog Posts

WhatsUp Gold Tip #1: Add your credentials first

Introduction Following installation, the first step to success is adding credentials for your infrastructure. WhatsUp Gold Network Monitoring and Log Management is an agentless solution