in More Search Options

New Google Map Resource for Orion (Beta)

Last post 11-18-2008 2:50 PM by Mark Wiggans. 95 replies.
Page 1 of 5 (96 items) 1 2 3 4 5 Next >
Sort Posts:
  • 01-14-2008 11:03 AM

    • pHubb
    • Top 200 Contributor
    • Joined on 05-18-2007
    • Austin, TX
    • Posts 40
    • Points 151
    • SolarWinds Employee

    New Google Map Resource for Orion (Beta)

    I don’t have a lot of posts on Thwack, but I’m trying to fix that. :) This weekend I got my Orion Google Map resource working, and wanted to get your feedback.  If you like it please let me know and I’ll package it for redistribution on your server.

     

    You can see what it looks like here on the online demo:

     

    http://oriondemo.solarwinds.com/Orion/SummaryView.aspx?viewid=157&AccountID=Guest&Password=Orion

     

    Once upon a time I was a pretty good JavaScript developer, but it’s been a while and this was challenging.  The real trick was getting multiple Google maps to work on the same page.  Orion is really good at that, but none of the Google maps API examples have more than one map on a page and I knew users would expect the same thing from this resource.  The Orion part was actually pretty easy.

     

    The resource contains three major parts:

     
    1. A Google Maps key manager to allow you to use multiple keys to support different URL’s on the same machine
    2. The Orion resource files, images and JavaScript files that run the display
    3. An interactive editor.
     

    The editor really is the secret sauce because it lets you graphically configure each map without needing to know anything about how Google maps work, for example the gory details of geocoded coordinates.  You just get it looking the way you want, size, zoom, which controls to show and the type of the map, and the editor takes care of it for you.  It even automatically generates a special query to limit the geographic extent of the selected nodes to the size of the map, while also letting you use the same filtering you use in node list resources.  Creating a map of all non-"up" US Cisco routers took less than a minute.

     

    Editor screenshots:

    Map in Orion, click "Edit" to update as Admin, hover over a point for node details
    Editor, with dynamic updates

     

     

     

    To make it work you must use the Custom Property editor to add the pre-defined Latitude and Longitude properties to the Nodes table.  You can then either manually set them up (there’s a tool on the map editor that gives you the coordinates for cut-and-paste), or populate them any way you like.  For example you could use a Custom Poller to get the data from GPS aware devices.  The resource won't try to add nodes that don't have these values for performace.

     

    I’m making a few final tweaks, so please check it out and let me know what you think.

     

    Thanks,

     

    Patrick

     

    Patrick Hubbard
    Technical Product Marketing Manager
    SolarWinds
    • Post Points: 44
  • 01-14-2008 3:06 PM In reply to

    • SamuelB
    • Top 25 Contributor
    • Joined on 06-16-2005
    • USA
    • Posts 268
    • Points 696

    Re: New Google Map Resource for Orion (Beta)

    I am surprised that no one has replied to this already. This looks great! I would definitely like a copy of the necessary files once you are ready to share them! I really like the way that you have not only created the resources but you have also taken the time to provide some nice "Edit" features. 

    • Post Points: 1
  • 01-14-2008 3:40 PM In reply to

    Re: New Google Map Resource for Orion (Beta)

    Very Nice, I'd like to try it.

     

    JB

    • Post Points: 3
  • 01-14-2008 4:01 PM In reply to

    Re: New Google Map Resource for Orion (Beta)

    This is outstanding, I would like to have this resource also.

    Thanks

    • Post Points: 1
  • 01-14-2008 4:04 PM In reply to

    • pHubb
    • Top 200 Contributor
    • Joined on 05-18-2007
    • Austin, TX
    • Posts 40
    • Points 151
    • SolarWinds Employee

    Re: New Google Map Resource for Orion (Beta)

    Thanks for the feedback, I'm glad you like it.  I'll start packaging it for testing.  Also from your feedback I fixed a bug in IE6 when mousing over nodes quickly blanks the maps, and found that the "Detach Resource" page is broken because I implemented the node lookups in the wrong aspx method.

     I'm headed to Spain for Networkers Friday so I may not have time to have it ready for download this week, but will work on it on the plane.  (Documentation ugh!)  I'll reply to this thread and repost 1 day sticky when it's ready.

     Now what would be really cool would be a resource for the Node Details view that centers on a single device to show you where it is. :)

     -Patrick

    Patrick Hubbard
    Technical Product Marketing Manager
    SolarWinds
    • Post Points: 3
  • 01-14-2008 4:58 PM In reply to

    • Don331
    • Top 25 Contributor
    • Joined on 07-03-2003
    • USA
    • Posts 232
    • Points 1,301

    Re: New Google Map Resource for Orion (Beta)

     I'd like to see this one too.. Nice work!

     

    BTW, enjoy Spain....watch out for the local sangria!

    lucky! 

     

    Don 

    Don Barry
    IFCO SYSTEMS N.A. INC.
    • Post Points: 1
  • 01-15-2008 3:39 AM In reply to

    Re: New Google Map Resource for Orion (Beta)

    Hello Patrick,

     This is such a awesome piece of work, where can i download it?

     Regards
    Per Qvindesland

    • Post Points: 3
  • 01-15-2008 10:48 AM In reply to

    • pHubb
    • Top 200 Contributor
    • Joined on 05-18-2007
    • Austin, TX
    • Posts 40
    • Points 151
    • SolarWinds Employee

    Re: New Google Map Resource for Orion (Beta)

    Glad you like it.  I put it online to get feedback, and so far it's driven a few changes which I'm making this week.  I'll get it packaged and hope to have it down-loadable in a few days.  The installer is easy, a zip file you unpack in the Orion root directory.  I'll post again when it's ready to go.

     -P

    Patrick Hubbard
    Technical Product Marketing Manager
    SolarWinds
    • Post Points: 3
  • 01-15-2008 11:25 AM In reply to

    Re: New Google Map Resource for Orion (Beta)

    I did something similar some time ago, although a little more basic.
    It does not show the Node info in Google - just the location of the Node.

    I created a link on the node details page with the following code (must be customized to use your own Custom Resources).

    <tr>
    <td class="Property"><a target="_blank" href="http://www.maps.google.com/maps?q=<;%=Node.GetProperty("Address")%>, <%=Node.GetProperty("City")%>, <%=Node.GetProperty("Region")%> +Canada">Get Map for this Location</a></td>
    </tr>

    Note, you can also use ZIP codes to locate your nodes in Google. 


    -=Cheers=-
    NG

    ---Orion V8.1 SLX, SLX secondary poller, SQL2005 x64 SE, 14GB Ram, 12k+ elements and counting--
    --Orion V9 Sp1 SL2000, SQL2005 Express 866 elements and counting---
    • Post Points: 3
  • 01-15-2008 11:53 AM In reply to

    • pHubb
    • Top 200 Contributor
    • Joined on 05-18-2007
    • Austin, TX
    • Posts 40
    • Points 151
    • SolarWinds Employee

    Re: New Google Map Resource for Orion (Beta)

    That's a cool solution.  You're also using the Geo Caching API with the address so you don't need the lat,lng of the nodes and they do the heavy lifting.  I actually started with something like that, but when I started looking at the location and address fields on a lot of the devices I was seeing entries like "Rack 2, U2-4" and one actually said "by Bob's desk".

    I'm hoping that version 2 of this will let you drop nodes on the maps directly.  Also, I want to do roll-ups from other maps but for that I'll have to add a table to the database and that's a little more involved.  One thing that I think will make the cut this week is are "JumpPoints".  You can add a JumpPoint to a map which basically just links to any URL so you can link from a GoogleMap to an Orion map.  You can easily use the Orion MapMaker to jump to a GoogleMap already, so with JumpPoints the circle will be complete.  I'd thought about using GoogleMaps overlays, but even with the satellite zoom level of 20, there's no way to get down far enough to actually map to a rack, so that won't work anyway.

     -Patrick

    Patrick Hubbard
    Technical Product Marketing Manager
    SolarWinds
    • Post Points: 3
  • 01-15-2008 12:08 PM In reply to

    • aLTeReGo
    • Top 10 Contributor
    • Joined on 01-31-2004
    • 127.0.0.1
    • Posts 864
    • Points 2,424

    Re: New Google Map Resource for Orion (Beta)

    Terrific work. I'd also love to get my hands on this new resource. Thanks.

    • Post Points: 1
  • 01-15-2008 12:23 PM In reply to

    • gblessing
    • Top 200 Contributor
    • Joined on 10-07-2003
    • Santa Ana, CA
    • Posts 38
    • Points 98

    Re: New Google Map Resource for Orion (Beta)

    That is excellent!  Let me know when you have another version to try. 

     

    Geo.
    • Post Points: 3
  • 01-16-2008 5:18 AM In reply to

    • Dal
    • Top 500 Contributor
    • Joined on 10-22-2003
    • Posts 28
    • Points 78

    Re: New Google Map Resource for Orion (Beta)

    Very cool feature, looking forward to try it some more. 

    • Post Points: 3
  • 01-16-2008 6:22 AM In reply to

    • JasonKV
    • Top 200 Contributor
    • Joined on 10-24-2007
    • Baltimore
    • Posts 37
    • Points 86

    Re: New Google Map Resource for Orion (Beta)

    Very nice feature. I will be looking forward to your return and the posted zip download. Great work.

    ---------------------
    Jason
    ----------------------
    • Post Points: 1
  • 01-16-2008 7:31 AM In reply to

    • Berny
    • Not Ranked
    • Joined on 06-29-2006
    • United Kingdom
    • Posts 4
    • Points 8

    Re: New Google Map Resource for Orion (Beta)

    This will save me the trouble of scanning in pages from my A-Z - well done

    • Post Points: 1
  • 01-16-2008 8:00 AM In reply to

    • Mithrilhall
    • Top 25 Contributor
    • Joined on 07-14-2004
    • Massachusetts, USA
    • Posts 392
    • Points 4,042

    Re: New Google Map Resource for Orion (Beta)

    Very nice. 

    ---------------------------------------------------------------------
    :::MasterShaper::: - Network Traffic Under Control
    • Post Points: 1
  • 01-16-2008 11:42 AM In reply to

    • bstokes
    • Not Ranked
    • Joined on 06-09-2004
    • USA
    • Posts 3
    • Points 5

    Re: New Google Map Resource for Orion (Beta)

    Great work!!! Can't wait to try it out.

     

    Brian

     

    Brian Stokes
    Senior Network Engineer
    Loudoun County Public Schools, Virginia
    • Post Points: 1
  • 01-16-2008 11:52 AM In reply to

    • grantsewell
    • Top 75 Contributor
    • Joined on 12-03-2007
    • Cincinnati, OH
    • Posts 100
    • Points 407

    Re: New Google Map Resource for Orion (Beta)

    Very nice resource - can't wait to try it out. It seems to jump around alot (IE7, FF2) when hovering over the nodes, but that looks like more of a problem with the Google API. Cool!

    Grant Sewell
    --
    LinkedIn - http://www.linkedin.com/in/grantsewell
    Twitter - http://twitter.com/grantsewell
    Flickr - http://flickr.com/grantsewell
    • Post Points: 3
  • 01-16-2008 12:57 PM In reply to

    • pHubb
    • Top 200 Contributor
    • Joined on 05-18-2007
    • Austin, TX
    • Posts 40
    • Points 151
    • SolarWinds Employee

    Re: New Google Map Resource for Orion (Beta)

    grantsewell:

    Very nice resource - can't wait to try it out. It seems to jump around alot (IE7, FF2) when hovering over the nodes, but that looks like more of a problem with the Google API. Cool!

     Thanks.  And the jumping around bit.. yes, there's a boog in my onmousemove event sink.  I'm fixing that over the weekend, and also shrinking the infoboxes so they don't scroll the window as much.

     Thanks for the feedback!

    Patrick Hubbard
    Technical Product Marketing Manager
    SolarWinds
    • Post Points: 5
  • 01-17-2008 8:34 AM In reply to

    • netview
    • Not Ranked
    • Joined on 02-27-2006
    • Luxembourg
    • Posts 11
    • Points 38

    Re: New Google Map Resource for Orion (Beta)

     Very impressive resource. would like to try it out also. Where can one download it ?

    ---------------------------------------------------------------------------
    Salutations / Best regards / Mit freundlichen Grüßen

    Marc Bermer | Network Engineer
    ArcelorMittal LCE Luxembourg

    www.arcelormittal.com
    • Post Points: 9
Page 1 of 5 (96 items) 1 2 3 4 5 Next >