Skip to main content
Matrix42 Self-Service Help Center

Hyper-V, XenServer and vCenter Inventory Attribute Mapping

Attribute Mapping for Virtual Inventory Data Providers

This article contains the attribute mapping for the Inventory of Citrix XenServer, Inventory of Microsoft Hyper-V, and Inventory of VMware vCenter Data Providers. It lists all attributes of the Computer configuration item that are imported or updated by the inventory.

Rules

  • Each Data Provider tries to match incoming hosts and virtual machines with computers that exist in Matrix42 Software Asset & Service Management. For matching a Data Provider uses incoming computer names, domain names, the vmId field for virtual machines, and an IP address if it is part of a domain name. If no match is found, a new computer record is created. Then computers are updated with incoming data.
  • If a host or a virtual machine is not present in the snapshot because it has been deleted, the Data Provider marks its status in Matrix42 Software Asset & Service Management as "Unknown" or sets to another value that is selected for deleted machines in the Data Provider configuration.

Stock keeping units can be created during the data import. The Configuration Item field is filled in depending on whether the corresponding source information is available, while the Type value is left empty. It should be set manually.

VMware vCenter

XML Entity XML Element Data Definition Attribute Note
DataCenter
​Snapshot
CurrentTime SPSComputerClass​Base LastScanDate  
ScanedHostName     Used in values of the Domain and VCenter attributes.
VCenterServerName SPSComputerClassBase VCenterServerName  
VCenterVersion SPSComputerClassBase VCenterVersion  
Host IsStandAlone SPSComputerClassBase IsStandalone True when the host is not part of a cluster; otherwise false.
inMaintenanceMode SPSComputerClassBase inMaintenanceMode  
VmotionEnabled SPSComputerClassBase VmotionEnabled  
DataCenter SPSComputerClassBase DataCenter Name of the VMware datacenter the physical host belongs to.
DataStores SPSComputerClassBase DataStores List of data stores where physical host is connected.
ClusterNames SPSComputerClassBase ClusterName  
ConnectionState SPSComputerClassBase ConnectionState State of the connection between a physical host and the vCenter server. Possible values: Connected, Disconnected, NotResponding, Maintenance.
HostName     Used in values of the DNSName and IpAddress
attributes.
Hyperthreading​Active SPSComputerClass​Base Hyperthreading​Active  
Management​ServerIp     Used in value of the IpAddress attribute.
VMHostId SPSComputerClass​Base DeviceId  
DnsAddress SPSComputerClass​Base DNSServerList Semicolon-separated list of DNS addresses.
DomainName SPSComputerClass​AD Domain Relation to a domain if a match has been found in the Workspace Management database. It is also used in value of the DNSName attribute.
DomainName SPSComputerClass​Base WindowsDomainName  
HostPowerState SPSComputerClass​Base PowerState  
Version SPSComputerClass​OS Version  
Manufacturer SPSAssetClassBase ManufacturerName  
Model SPSAssetClassBase Model  
Model SPSComputerClass​Base MBModel  
CpuModel SPSComputerClass​Base Processor  
CpuSocketsNumber SPSComputerClass​Base ProcessorCount  
PhysicalThreads SPSComputerClass​Base ThreadsCount  
PhysicalCpuCores​Num SPSComputerClass​Base AmountProcessorCores  
CpuClockRate SPSComputerClass​Base ProcessorClock  
MemoryTotalGb SPSComputerClass​Base Memory Value is converted to megabytes.
VMKernelGateway SPSComputerClass​Base IPGateway  
AppManufacturer SPSComputerClass​OS Manufacturer  
AppName SPSComputerClass​OS Name  
SerialNumber SPSAssetClassBase SerialNumber  
  SPSComputerClass​Base Name HostName
  SPSComputerClass​Base DNSName HostName.DomainName
  SPSComputerClass​Base IpAddress Either IP address parsed from HostName or ManagementServerIp.
  SPSAssetClassBase ManagementType Set to "VirtualInventory" if a computer has been created by the virtual inventory.
  SPSComputerClass​Base VCenter Relation to a vCenter server retrieved from ScanedHostName.
  SPSCommonClass​Base State Computer state is set to "Active" unless another value is specified in the data provider configuration.
  SPSComputerClass​Base Host Relation to the current host machine that is set for all underlying virtual machines.
MigrationHistory
​Items
DestinationHost SPSComputerClass​HostHistory DestinationHost​Name  
DestinationHost SPSComputerClass​HostHistory DestinationHost Relation to a destination host machine.
FinishDate SPSComputerClass​HostHistory ScanDate  
VirtualMachines OSGuestSystem SPSComputerClassOS Name Operating system installed on the virtual machine as known by vCenter through VMware Tools (when installed on the guest OS).
GuestIp SPSComputerClass​Base IpAddress  
DnsName SPSComputerClass​Base DNSName  
PowerState SPSComputerClass​Base PowerState  
VmId SPSComputerClass​Base VirtualDeviceId  
ProcessorCount SPSComputerClass​Base ProcessorCount  
CoresPerSocket SPSComputerClass​Base AmountProcessorCores  
NumberOfLogicalProcessors SPSComputerClass​Base ThreadsCount  
MemoryAmountGB SPSComputerClass​Base Memory Value is converted to megabytes.
SerialNumber SPSAssetClassBase SerialNumber  
    SPSComputerClass​Base Name Value is retrieved from VmName or DnsName. Otherwise it is set to "Unknown".
    SPSComputerClass​Base IpAddress Value is retrieved from either VmName, DnsName or GuestIps.
    SPSComputerClass​Base Ipv6Address Value is retrieved from GuestIps.
    SPSComputerClass​AD Domain Relation to a domain if a match has been found in the Workspace Management database.
    SPSAssetClassBase ManagementType Set to "VirtualInventory" after a virtual machine has been created by the virtual inventory.
    SPSCommonClass​Base State Virtual machine state is set to "Active" unless another value is specified in the Data Provider configuration.

Microsoft Hyper-V

XML Entity XML Element Data Definition Attribute Note
DataCenter
​Snapshot
CurrentTime SPSComputerClass​Base LastScanDate  
ScanedHostName     Used in values of the Domain and VCenter
 attributes.
Host HostName     Used in values of the DNSName and IpAddress
attributes.
Hyperthreading​Active SPSComputerClass​Base Hyperthreading​Active  
Management​ServerIp     Used in value of the IpAddress attribute.
VMHostId SPSComputerClass​Base DeviceId  
DnsAddress SPSComputerClass​Base DNSServerList Semicolon-separated list of DNS addresses.
DomainName SPSComputerClass​AD Domain Relation to a domain if a match has been found in the Workspace Management database. It is also used in value of the DNSName attribute.
DomainName SPSComputerClass​Base WindowsDomainName  
HostPowerState SPSComputerClass​Base PowerState  
Version SPSComputerClass​OS Version  
Manufacturer SPSAssetClassBase ManufacturerName  
Model SPSAssetClassBase Model  
Model SPSComputerClass​Base MBModel  
CpuModel SPSComputerClass​Base Processor  
CpuSocketsNumber SPSComputerClass​Base ProcessorCount  
PhysicalThreads SPSComputerClass​Base ThreadsCount  
PhysicalCpuCores​Num SPSComputerClass​Base AmountProcessorCores  
CpuClockRate SPSComputerClass​Base ProcessorClock  
MemoryTotalGb SPSComputerClass​Base Memory Value is converted to megabytes.
VMKernelGateway SPSComputerClass​Base IPGateway  
AppManufacturer SPSComputerClass​OS Manufacturer  
AppName SPSComputerClass​OS Name  
SerialNumber SPSAssetClassBase SerialNumber  
  SPSComputerClass​Base Name HostName
  SPSComputerClass​Base DNSName HostName.DomainName
  SPSComputerClass​Base IpAddress Either IP address parsed from HostName or ManagementServerIp.
  SPSAssetClassBase ManagementType Set to "VirtualInventory" if a computer has been created by the virtual inventory.
  SPSComputerClass​Base VCenter Relation to a host server retrieved from ScanedHostName.
  SPSCommonClass​Base State Computer state is set to "Active" unless another value is specified in the Data Provider configuration.
  SPSComputerClass​Base Host Relation to the current host machine that is set for all underlying virtual machines.
MigrationHistory
​Items
DestinationHost SPSComputerClass​HostHistory DestinationHost​Name  
DestinationHost SPSComputerClass​HostHistory DestinationHost Relation to a destination host machine.
FinishDate SPSComputerClass​HostHistory ScanDate  
VirtualMachines VmName      
VmPowerState SPSComputerClass​Base PowerState  
GuestIps SPSComputerClass​Base    
DnsName SPSComputerClass​Base DNSName  
VmId SPSComputerClass​Base VirtualDeviceId  
ProcessorCount SPSComputerClass​Base ProcessorCount  
CoresPerSocket SPSComputerClass​Base AmountProcessorCores  
NumberOfLogicalProcessors SPSComputerClass​Base ThreadsCount  
MemoryAmountGB SPSComputerClass​Base Memory Value is converted to megabytes.
SerialNumber SPSAssetClassBase SerialNumber  
    SPSComputerClass​Base Name Value is retrieved from VmName or DnsName. Otherwise it is set to "Unknown".
    SPSComputerClass​Base IpAddress Value is retrieved from either VmName, DnsName or GuestIps.
    SPSComputerClass​Base Ipv6Address Value is retrieved from GuestIps.
    SPSComputerClass​AD Domain Relation to a domain if a match has been found in the Workspace Management database.
    SPSAssetClassBase ManagementType Set to "VirtualInventory" after a virtual machine has been created by the virtual inventory.
    SPSCommonClass​Base State Virtual machine state is set to "Active" unless another value is specified in the Data Provider configuration.

Citrix XenServer

API Object Property Data Definition Attribute Note
Host cpu_configuration["threads_per_core"] > 1 SPSComputerClass​Base HyperthreadingActive  
PIF DNS SPSComputerClass​Base DNSServerList  
Host_metrics get_live method SPSComputerClass​Base PowerState  
Host software_version["linux"] SPSComputerClass​OS Version
 
 
Host bios_strings["system-manufacturer"] SPSAssetClassBase ManufacturerName  
Host cpu_info["modelname"] SPSComputerClass​Base Processor  
Host cpu_info["socket_count"] SPSComputerClass​Base ProcessorCount  
Host cpu_configuration["threads_per_core"] SPSComputerClass​Base ThreadsCount

Value provided is "per core".

Host cpu_info["cpu_count"] SPSComputerClass​Base AmountProcessorCores  
Host cpu_info["speed"] SPSComputerClass​Base ProcessorClock  
Host_metrics memory_total SPSComputerClass​Base Memory  
PIF gateway SPSComputerClass​Base IPGateway  
Host software_version["platform_name"] SPSComputerClass​OS Manufacturer Can be software_version["product_brand"]
Host software_version["platform_version"] SPSComputerClass​OS Name Can be software_version["product_version"]
Host bios_strings["system-serial-number"] SPSAssetClassBase SerialNumber  
VM power_state SPSComputerClass​Base PowerState  
VM_guest_metrics platform["cores-per-socket"] SPSComputerClass​Base AmountProcessorCores  
VIF memory_dynamic_max SPSComputerClass​Base Memory  
VM bios_strings["system-serial-number"] SPSAssetClassBase SerialNumber By default Citrix XenServer does not provide BIOS serial numbers for its VMs, but they can be configured for XenServer 7.3 and later. For more information, refer to https://support.citrix.com/article/CTX230618 (external link).
VIF ipv4_addresses SPSComputerClass​Base IpAddress  
VIF ipv6_addresses SPSComputerClass​Base Ipv6Address