Skip to content

Host importer

Versio.io inventories the hardware, the manufacturer’s warranty and the operating system on the host where OneImporter is running.

Configuration

You can find the configuration option in Versio.io at Environment settings > OneImporter > Configurations > Host.

Here you can edit all existing configurations, create new configurations or delete existing configurations. Each configuration can import one host for every OneImporter instance into a single specified entity. To add a new configuration, enter a Name and click Add to proceed to the configuration. To edit an existing configuration, click the arrow on the left of your importer name to expand the configuration options.

The following configuration options are available:

Field Description Advice
Name Meaningful name Should include "Host"
Active Option to activate and deactivate the configuration. Data is only imported if the configuration is activated.
CPUs Option to activate and deactivate the detection of CPUs. They are only imported if this option is activated.
Network interfaces Option to activate and deactivate the detection of network interfaces. They are only imported if this option is activated.
Mounted disks Option to activate and deactivate the detection of mounted disks. They are only imported if this option is activated.
Environment variables Option to activate and deactivate the detection of environment variables. They are only imported if this option is activated.
Environment variables Specify environment variables to detect if detection is activated.
Entity name Name of the entity that instances are assigned to (default: host) Determine standards about entity names before your first import
Executing OneImporter Select one or multiple OneImporters where the host data should be imported from. Requires an installed OneImporter: Installation instructions
Schedule time (cron format) Determine the frequency of imports in CRON format Learn more about CRON format: https://en.wikipedia.org/wiki/Cron

Table: Host import configuration parameters

 

The following image is an example of a configuration in Versio.io for imports of hosts:

Versio.io host importer configuration Figure: Example of a configuration in Versio.io for imports of hosts

The following data can be determined via a server or desktop host:

Topic Subtopic Note
Display name Display name of the Versio.io instance. This contains the host name or IP of the host so that users can access the instances intuitively. The display name can also be customised to suit the environment.
Last boot time Timestamp of when the computer was last restarted.
Operating system General information about the operating system.
Main user User who works on the host. See Main user determination.
Mounted disks All available Windows drives or Linux mounts.
Network interfaces All available network interfaces.
Network interfaces address spaces Determined number of public and private IP addresses based on RFC 1918 for IPv4.
Nameserver Only for Linux hosts.
Services Captures all services of an operating system and their status.
SELinux Captures the configuration of Security-Enhanced Linux (SELinux)
System Describes the entire computer system.
Hardware Memory Describes the physical or virtualised memory banks of the host.
Processor Describes the physical or virtualised CPU of the host.
Base board Only for physical hosts.
Cache Only for physical hosts.
Disk drive Only for physical hosts.
Chassis Describes the chassis of the system.
Vendor warranty Based on the serial number of the device, an attempt is made to determine the warranty information via an API offered by the manufacturer. Dell, Intel and Lenovo are currently supported. Not all manufacturers currently offer a warranty API!
Technology Operating systems identified by Versio.io, their version including kernel versions and product version.

Table: Overview of all data captured by the host importer

Main user determination

The OneImporter determines the main user from the login history of the host. The result is cached for 7 hours. If no login is found, the last known main user is kept.

Supported operating systems

Operating system Supported
Linux Yes
macOS Yes. Uses the same detection logic as Linux.
Windows Yes
Other (e.g. AIX, Solaris) No

Table: Main user suport per operating systems

Linux and macOS

  1. The OneImporter reads the last 50 logins with last -w -50.
  2. The pseudo entries reboot and wtmp are ignored.
  3. The logins are counted per user.
  4. The user with the most logins is the main user. On a tie, the user with the most recent login wins.

All users count, including root and service accounts.

Windows

  1. The OneImporter reads the successful logon events (event ID 4624) of the last 6 days from the Windows security log.
  2. The following accounts are ignored:
    • SYSTEM
    • Computer accounts (name ends with $)
    • Accounts starting with DWM-, UMFD- or sshd_
  3. The user of the most recent remaining logon event is the main user.

All logon types count, including network and service logons. The user name is captured without the domain.

Example

The Versio.io OneImporter imports hosts based on your specific configuration and stores the different instances in the entity defined by you (default: host). To view the imported instances in Versio.io, you can select 'Asset & Configuration Repository → Instance Viewer'. There you can select your specific instance and click it for a detailed view in the instance history viewer.

The following image is an example of an imported host:

Versio.io host instance Figure: Example of a host instance

Host-ID composition

The host ID is formed from the unique machine ID and, if available, the name of the cloud provider and the corresponding instance ID of the cloud provider. If neither the machine ID nor the cloud instance ID is available, the unique ID of the installed OneImporter is used. The resulting value is hashed.