项目作者: cstegm

项目描述 :
OpenStreetMap module for Icinga Web 2
高级语言: PHP
项目地址: git://github.com/cstegm/icingaweb2-module-osm.git
创建时间: 2017-06-08T10:23:43Z
项目社区:https://github.com/cstegm/icingaweb2-module-osm

开源协议:GNU General Public License v2.0

下载


About

Display the worst service status of a host on OpenStreetMap using http://leafletjs.com/.

OSM
OSM

Requirements

  • Icinga Web 2 (>= 2.0.0)

Licence

Icinga Web 2 and this Icinga Web 2 module are licensed under the terms of the GNU General Public License Version 2, you will find a copy of this license in the LICENSE file included in the source package.

Installation

Copy all files/folders into …/icingaweb2/modules/osm. The foldername for the module must be osm!

Configuration

Setting Description
latitude Required Latitude
longitude Required Longtidue
zoom Required Open Street Map Zoom Level
radius Required Radius of displayed Markers

Example:

  1. vim /etc/icingaweb2/modules/osm/config.ini
  2. [osm]
  3. latitude="51.418568"
  4. longitude="6.884523"
  5. zoom="8"
  6. radius="12"

To get Geolocation data, best use a website like http://www.latlong.net or use you smartphone :)

Geolocations

To get the hosts displayd on the map you have to add to each host configuration

  1. vars.geolocation = "<longitude>,<latitude>"

Thanks

This module borrows a lot from https://github.com/Mikesch-mp/icingaweb2-module-globe