Device location determination

concept australia Updated Sep 10, 2026 2 min read location-determination.md
Raw file servicenow.com

Device location determination identifies the number of impacted devices at each location based on configurable logic.

Identify the number of impacted devices by location by configuring custom logic for location determination. Device location can be set using three predefined configurations. DEX administrators configure this behavior using the sn_dex.location_determination system property. This property controls how DEX determines the location of each device in the Computer [cmdb_ci_computer] table, which is used for reporting and alerting.

default_gateway_determined_location

Location determination logic: DEX uses the default gateway of the device to determine the location.

  • Identify the default gateway IP address of the device.
  • Match this gateway to the switches in cmdb_ci_ip_switch.

The assigned location of the switch is identified as the device’s location. If not, the device is marked as Remote (see Remote location format logic).

Note:

When sn_dex.location_determination is set to default_gateway_determined_location to make the Geomap work on the DEX dashboard:

  • Verify that the State and Country fields in the location (cmn_location) records associated with the cmdb_ci_ip_switch table use standard codes that match the values in the sys_report_map_source_mapping table.
  • Verify that the latitude and longitude values are populated correctly in the associated location records.

device_user_assigned_location

Location determination logic: DEX prefers the device’s assigned location and falls back to the employee’s location if needed.

  • Use the device’s location from cmdb_ci_computer.
  • If unavailable, use the owner’s location from sys_user.

If neither option is set, the device is marked as Remote (see Remote location format logic).

Note:

When sn_dex.location_determination is set to device_user_assigned_location to make the Geomap work on the DEX dashboard:

  • Verify that the state and country fields in the location records associated with the cmdb_ci_computer and sys_user tables use standard codes that match the values in the sys_report_map_source_mapping table.
  • Verify that the latitude and longitude values are populated correctly in the associated location records.

geoIP_determined_location

geoIP_determined_location is the default option.

Location determination logic: DEX uses GeoIP based on network connectivity to determine the location using the GeoIP data.

When a device is marked as Remote, DEX uses GeoIP to determine the Region or State and Country. With an admin role, you can set the format (Remote, State, Country, or Remote, Country) in sys_property sn_dex.remote_location_config.

  • The country format: Remote, Country (For example, Remote, USA), where the country is determined by GeoIP.
  • The include_state format: Remote, CA, USA, where state and country are determined by GeoIP.

Note:

When sn_dex.location_determination is set to geoIP_determined_location, to make the Geomap work on the DEX dashboard, no manual configuration is required. DEX automatically populates the state, country, latitude, and longitude values.

Parent Topic:DEX advanced configuration

Search documentation
Search document titles and file paths on the australia branch