The geomap functionality in OP5 monitor allows you to map out objects on a map, as well as links between the objects. Geomap requires certain XML files to exist, have correct permissions, and have valid contents. These files are placed in:
The correct ownership of
apache:apache. Incorrect permissions may manifest, for example, as nothing happening when you press "Save" for a new location.
At the very least, the following files must exist and have correct permissions:
- This file contains links between locations.
- This file contains locations. A location can contain a host object, but it's not required for the object to show up. This host object cannot be empty or null, this will hide the object -- fix the object or remove it completely.
- This file contains geomap settings, such as which provider to use for displaying the map.
XML files are saved as one single line. To improve readability, you can run them through tidy:
# cat locations.xml | tidy -xml -qi
This will make location objects with nested objects (hosts, services, etc.) significantly easier to spot.