GithubHelp home page GithubHelp logo

cstegm / icingaweb2-module-osm Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 786 KB

OpenStreetMap module for Icinga Web 2

License: GNU General Public License v2.0

PHP 55.16% HTML 0.18% JavaScript 44.66%
icingaweb2-module icinga2 monitoring integration

icingaweb2-module-osm's Introduction

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:

vim /etc/icingaweb2/modules/osm/config.ini

[osm]
latitude="51.418568"
longitude="6.884523"
zoom="8"
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

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

Thanks

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

icingaweb2-module-osm's People

Contributors

cstegm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

bluemutedwisdom

icingaweb2-module-osm's Issues

Use the same geolocation variable as globe module or allow customization

Hello,
I use the globe module for icingaweb2 and discovered that even if it use the same geolocation variable the syntax is different.
Your plugin uses vars.geolocation = "<longitude>,<latitude>"
The globe module uses vars.geolocation = "<latitude>,<longitude>"
That would be great to use the same syntax, or to allow the syntax to be customized (i.e: geolocation_order = "latitude,longitude")
BR,
Yannick

= Missing

In README.MD

radius"12" should be radius="12"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.