Search Exchange

Search All Sites

Nagios Log Server Now Available - Download Now

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

nagmap Popular

Bookmark and Share

Current Version
1.0
Last Release Date
2012-09-16
Compatible With
  • Nagios 3.x
Owner
E-mail
License
GPL
Hits
255693
nagmap
Simple to install application with gets information from Nagios config files and status files and displays the network topology using Google Maps API - standalone software, does not directly integrate with Nagios source - and that is a good thing when upgrading Nagios! :).

Now uses Google Maps API v3 (No Google Maps key required!)
Now supports multiple parents
Now colors links between hosts

Source code and additional download files available on https://github.com/hecko/nagmap/
Reviews (11)
Hi, i've implemented NAGMAP on my personal monitoring server, it was very easy, i had to make a few changes, because of the paths that point to "nagios", but my installation is "nagios3", and i've changed the path to the marks for a local folder instead of getting them online (it speeded up the map loading), now i'm wondering if there's a way to store the maps localy instead of getting them online everytime, but the NAGMAP Tool is PERFECT, i'm using it with NCONF perfectly. i'm gonna make more ressearches with them. Thanks a lot for it!!!
Gostaria de ajuda para visualizar host no nagmap.
/etc/nagios3/conf.d/pops.cgi
define host{
use generic-host
host_name INTERNET
alias LINK INTERNET
address 200.147.67.142
parents localhost
icon_image cook/wan_cloud.png
icon_image_alt
vrml_image cook/wan_cloud.png
statusmap_image cook/wan_cloud.png
contact_groups admins
notes latlng:-5.145640,-38.098219
register 1
}

/nagmap/config.php
//in linux run `updatedb` and `locate nagios.cfg` and `locate status.dat` to find these files
$nagios_cfg_file = "/etc/nagios3/conf.d/nagios.cfg";
$nagios_status_dat_file = "/var/cache/nagios3/status.dat";
//set to the centre of your map
$nagmap_map_centre = '-5.1488,-38.097';


/var/cache/nagios3/status.dat

hoststatus {
host_name=INTERNET
modified_attributes=0
check_command=check-host-alive
check_period=
notification_period=24x7
check_interval=5.000000
retry_interval=1.000000
event_handler=
has_been_checked=1
should_be_scheduled=1
check_execution_time=0.079
check_latency=0.143
check_type=0
current_state=0
last_hard_state=0
last_event_id=29348
current_event_id=29607
current_problem_id=0
last_problem_id=9709
plugin_output=PING OK - Packet loss = 0%, RTA = 48.63 ms
long_plugin_output=
performance_data=rta=48.632000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0
last_check=1378131866
next_check=1378132176
check_options=0
current_attempt=1
max_attempts=10
state_type=1
last_state_change=1377726653
last_hard_state_change=1377726653
last_time_up=1378131876
last_time_down=1377718163
last_time_unreachable=0
last_notification=1377726653
next_notification=0
no_more_notifications=0
current_notification_number=0
current_notification_id=29136
notifications_enabled=1
problem_has_been_acknowledged=0
acknowledgement_type=0
active_checks_enabled=1
passive_checks_enabled=1
event_handler_enabled=1
flap_detection_enabled=1
failure_prediction_enabled=1
process_performance_data=1
obsess_over_host=1
last_update=1378132066
is_flapping=0
percent_state_change=0.00
scheduled_downtime_depth=0
}
bysucelso, November 20, 2012
Nagmap is best solution integrated with Nagios to monitoring your hosts using interface of google maps. A have more 1000 devices in my network monitored from NagMap!

Congratulations to Maco and your team.
byadp, November 1, 2012
a very good idea for an app, but unfortunately it doesn't work unless you're using an extremely basic configuration (a single config file). i was unable to get any help from the person who created the app as to why it doesn't work.
Owner's reply

adp, can you please resend your email to me as I really try hard to respond and escalate every single request for support

bymik179, July 30, 2012
It is just great - exactly what I needed. The only suggestion is not to unzip it under the root of your Apache server, but under the root of the nagios web folder.
byfgotardi, June 21, 2012
I would like to thank the support provided by Mr.. Marcel, fast and totally free.
The tool is fantastic, works perfectly all the features.
I recommend this tool.
byElmoN, January 18, 2012
Quisiera felicitar al autor de esta exelente aplicacion. Ojala pueda seguir perfeccionandolo.

Para el colega que tiene problemas con el host.cfg. El codigo para cambiar la ruta, se encuentra en marker.cfg, en mi caso en la linea 6.

I congratulate the author of this excellent application. Hopefully I can keep improving it.

For the colleague who has problems with host.cfg. The code to change the route, is in marker.cfg, in my case on line 6.
Thanks for the tool, it has done a good job, but i am facing one issue when i use this tool, if i use the nconf, it is moving the longtitude info to extended_hosts.cfg, and it looks like your tool reads only the hosts.cfg, hence it is unable to show the icons in google maps. is there way to rectify this please do let meknow
Owner's reply

hi, this should have been fixed some time ago - nagmap now also searchs for information in extended hosts configs

bygutemberg.aci, October 16, 2011
0 of 1 people found this review helpful
bydanildo, June 28, 2011
1 of 1 people found this review helpful
Excelente addon!!! Mas é necessário ter conhecimentos de PHP e GOOGLEMAPS APIv3, pois é preciso fazer algumas alterações significativas. Mas depois vale a pena!! Show de bola!!! =) Consultorias: z3r0Br@gmail.com
Owner's reply

Many bugs fixed, so you do not have to make any additional changes any more...hopefully :)

bynerlion, March 23, 2011
1 of 1 people found this review helpful
I have tried all free map addons (except nagvis), and this is by far the best. Only few lines of code get this working. (So some understanding of php is needed anyway)