Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4457

Allow static mapping of sysLocation strings to coordinates.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • Professional Edition
    • Web Interface
    • Observium 23.2.12520 (8th February 2023)

    Description

      At our company, we set system locations based on campus/building/room and intentionally don't use street addresses.

      However, within the monitoring system we'd still like to use the map, with approximate locations.

      So far the procedure is, to add static geocoordinates to the first device listed in a search for a specific location string. This usually puts all devices in that location on the right place on the map. However, this does not always work and breaks whenever we add a device with a alphabetically lower name to a specific room. (which happens quite often, unfortunately)

       

      So something like this would be appreciated:

      // Mapping (unknown) sysLocationstrings to geocoordinates.

      $config['geocoding']['geocoding_map']['NY, TR44, R4983'] = '40.74926,-73.98549'; // sysLocation string / geolocation 

       

      Also, I wonder if it is possible to adjust the match threshold for  the API used. I'd prefer a location like 'Mikes Office' to return Unknown, rather than some remote place on a different continent.

      Attachments

        Activity

          People

            adama Adam Armstrong
            simon.giotta@ruag.ch Simon Giotta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: