Why is the name the primary key for the devices?

Nexthink ServiceNow Service Graph Connector uses the name as a primary key to import the devices (record in the table cmdb_ci_computer). It is usual to use a unique identifier but in this case, use of the name has been chosen for several reasons.

  • The first reason is that in Nexthink, this value is obtained automatically from the system (in the case of Windows the value given comes from the NETBIOS name and in Mac devices, the value given is the name given within the network) and is a non-editable value. In fact, it is the value used in the searches (more information on this subject here).

  • Another reason for not using the unique identifier is to avoid creating a new field in the cmdb_ci table, making it easier to use the connector.

Last updated