Troubleshoot - Virtual Machines are NOT flagged as "Is Virtual" in ServiceNow

Error experienced

Virtual Machines are NOT being flagged as “Is Virtual” when synced to ServiceNow.

This KB applies to:

Applies to Versions

All

Applies to Source Connectors

Lansweeper

Applies to Destination Connectors

ServiceNow

Error verification

No other error verification information is applicable.

Cause

By default, CI Sync sets the virtual field value based on Lansweeper having scanned the virtualization platform as well as the guest computer system.

Fix

A solution has been implemented that will set the virtual field based on the manufacturer and (optionally) the model. These values are customer configurable against the source connection.

A system setting can be configured to change the manufacturer/models that are assessed as “virtual”.

To review the current configuration for your instance, navigate to the Settings / Connections page and Update the Lansweeper connection record.

Under the Additional Settings section you can review the “Virtualization” settings:

image-20250502-061630.png

To override an existing setting value, tick the “Override default” checkbox. You can then change the setting to the value you desire.

If the Lansweeper connection has been configured for both the Test and Production environments, there will be two sets of configuration settings which control the behaviour for each environment independently. This provides for making changes to the Test environment and testing them before applying them to Production.


The “Virtual Manufacturer/Model RegEx” property contains a regular expression which defines the Manufactuer/Model combinations for which the Is Virtual flag will be set to true.


Default expression:

/(^Nutanix\|.|^VMWare, Inc.\|.|^Microsoft Corporation\|Virtual Machine|^Xen\|.|^oVirt\|.)/i

Will set records with a manufacturer of “Nutanix”, “VMWare, Inc.”, “Xen” or “oVirt” to true regardless of the model. However, records with a manufacturer of “Microsoft Corporation“ must have a model of “Virtual Machine” to set Is Virtual to true.


Example:

To add a new manufacturer/model combination to the regular expression for “My Manufacturer/My Model”, change the regular expression value to:

/(^Nutanix\|.|^VMWare, Inc.\|.|^Microsoft Corporation\|Virtual Machine|^Xen\|.|^oVirt\|.|^My Manufacturer\|My Model)/i


Control Information

Created

Reviewed

Data Classification

PUBLIC
Classified in accordance with the Syncfish Data Classification Framework