Info |
---|
This article overviews on how to add Geo coordinates from Checkmk into Nagvis maps. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.2.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Getting Started
Background information regarding this subject is available in our Official documentation
Problem
You want to have geographical information in Checkmk, and based on that information, you want to have NagVis geomaps that automatically get populated with this information.
Solution
Warning |
---|
This solution works only on a per-site basis. If the hosts you want to show in NagVis are located at several sites, you need maps with the appropriate backends. |
...
Follow these steps to enable the automatic placement of hosts based on their geolocation:
- Create two custom host attributes like described here: Custom attributesHow-to configure custom notification attributes#CustomHostattributes
one attribute will be named "lat" and the other one "long."
Image Modified
Image Modified
Note |
---|
You need to select the Checkbox "Add to monitoring configuration" to make both attributes available for NagVis. |
.
- Start adding the information to your hosts; you need at least one with coordinates configured.
- Navigate to NagVis and create a new map of the type 'Geographical map (non-interactive).'
- Go to Edit Map → Map Options
- On the rider 'Geomap,' change the source type to 'NagVis Backend' and save the settings.
- Enjoy the view
Related
...
Articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | CONKB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "activate_changes" in ( "checkmk" , "nagvis" , "maps" ) and type = "page" and space = "CONKB" |
---|
labels | activate_changesnagvis maps checkmk |
---|
|
...