googlemaps option for nagios maps

Marcel J.E. Mol marcel at mesa.nl
Mon Nov 1 12:05:43 CET 2010


Hi lsit,

Based on one of the googlemap contributions in the exchange area I created
a new version of it using the googlemap API3. The advantage of API3 is
that you don't seem to need a goggle key anymore.

Host will show as a red or green marker to indicate the host status.

When hoovering over a host marker the status popup will appear (unless suppress
popups is checked of coarse).

When mousedown on a host an information box will appear showing hostname,
the gps_notes (a host item in the location.cfg file) and the gps coordinates.
On mouseup the information box will dissapear.

Leaving the mouse on a host will eventually show the hostname.

when going to a to map via 'show host on map' the selected host will be
drawn with a circles shadow.

An example can be seen on http://mesa.nl:81/nagios/
(user guest password nagios)

Is this a usefull option to add to the distribution or is it only
interesting enough to be put on the exchange pages?

Currently it uses a seperate configuration file. If it is included in
the nagios distribution the gps coordinate can be added to the main
host definitions. 

Please comment...
Thansk,

-Marcel
-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. +31-(0)6-54724868          P.O. Box 112
    =======---------        marcel at mesa.nl                 2630 AC  Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
 They couldn't think of a number,           Linux user 1148  --  counter.li.org
    so they gave me a name!  -- Rupert Hine  --  www.ruperthine.com

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev




More information about the Developers mailing list