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

Allow static mapping of sysLocation strings to coordinates.

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

          [OBS-4457] Allow static mapping of sysLocation strings to coordinates.

          Can this be achieved?

          simon.giotta@ruag.ch Simon Giotta added a comment - Can this be achieved?
          landy Mike Stupalov made changes -
          Labels New: geolocation
          adama Adam Armstrong made changes -
          Comment [ _*General questions and device support can be discussed in [our Discord channel, click here to join|https://discord.gg/GjpNXKWm8W].*_
          ----

          Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
          {noformat}
            _If device not support SNMP version 2c, replace -v2c with -v1._

           * If you have problems with discovery or poller processes, please do and attach these debugs:
          {noformat}
          ./discovery.php -d -h <device>
          ./poller.php -d -h <device>
          {noformat}
           
          * additionally attach device and/or vendor specific MIB files

          ----
          {color:#505F79}_This comment is added automatically._{color} ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]

          No information about the device needed.

          simon.giotta@ruag.ch Simon Giotta added a comment - No information about the device needed.
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          simon.giotta@ruag.ch Simon Giotta created issue -

          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: