Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 solutions solution works only on a per-site basis. Meaning if the hosts you want to show in NagVis are located at several sites, you need several maps with the appropriate backends.

Follow these steps to enable automatic placement of hosts based on their geo locationgeolocation:

Panel
bgColor#fff
  1. Create two custom host attributes like described here: Custom attributes
    one attributed attribute will be named "lat" and the other one "long"

    Info


    Note

    You need to select the Checkbox "Add to monitoring configuration" that both attributes are available for nagvisNagVis


  2. Start adding the information to your hosts, you need at least one with coordinates configured
  3. Navigate to NagVis and create a new map of the type 'Geographical map (non-interactive)'
  4. Go to 'Edit Map' → 'Map Options'
  5. On the rider 'Geomap' change the source type to 'NagVis Backend' and save the settings
  6. Enjoy the view

...