Maps and Diagrams

nagmap

Description:

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/

Current Version

1.0

Last Release Date

2012-09-16

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Photos
Project Notes
Reviews (12) Add a Review
Still great!
by beefstew, August 31, 2015

I'm using this in 2015 and it still works perfectly. I just needed to add the "notes latlng: x,x" to my config files and I was good to go! Thanks for the awesome addon!



Very Usefull and easy implementing
by rafael.petersen, September 30, 2013

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!!!



Nao consigo visualizar no nagmap
by fsoaress76, September 30, 2013

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 }



Excellent!
by sucelso, November 30, 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.



good idea
by adp, November 30, 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.



Great Add-On
by mik179, July 31, 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.



Fantastic
by fgotardi, June 30, 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.



Exelente Aplicacion
by ElmoN, January 31, 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.



pretty good presentation, very easy to implement
by arunrao_erp, January 31, 2012

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



by gutemberg.aci, October 31, 2011




Excelente ADDON
by danildo, June 30, 2011

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



best
by nerlion, March 31, 2011

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)



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.3 (30)
Favorites
8
Views
330,169