DCImanager 6
en En
es Es

Importing equipment from a CSV file

You can add equipment to the platform by importing a CSV file. This feature can be useful for:

  • adding a large number of devices at once;
  • migrating from a similar platform to DCImanager 6.

Preparing the CSV File

The CSV file must not exceed 16 MB. Otherwise, the operation will fail with an error, and the equipment will not be imported.

The CSV file must have the following structure:

#type_1
field_1,field_2,field_3,field_4
field_1,field_2,field_3,field_4

#type_2
field_1,field_2,field_3,field_4
field_1,field_2,field_3,field_4
...

type_1 and type_2 — the type of equipment or record to be added. DCImanager 6 supports the following equipment and record types:

  • rack — rack;
  • server platform — platform;
  • blade server chassis — chassis;
  • server — server;
  • BMC — ipmi or bmc;
  • Intel AMT — intel_amt;
  • switch — switch;
  • PDU — pdu;
  • uninterruptible power supply — ups;
  • user — user;
  • server IP address — server_ip.

Skipping Parameters

You can omit some parameters. To do this, leave the corresponding field empty:

Example with skipped field "field_2"
#type
field_1,,field_3,field_4

If empty parameters are at the end of the line, do not add commas after the last parameter:

Example with skipped fields "field_3" and "field_4"
#type
field_1,field_2

Adding Equipment

Racks

Rack row syntax
name,size,note

Required fields:

Field

Field Description

name

rack name
          size
        
number of units

Optional fields:

Field

Field Description

note

note

Server Platforms

Server platform row syntax
name,type,server_size,is_short_depth,cpu_socket_count,ram_slot_count,max_ram,hdd_slot_count,pci_slot_count,cpu_socket_name

Required fields:

Field

Field DescriptionNotes

name

platform name

type

platform type

can only take two values:

  • server — rack-mounted server
  • blade — blade server

server_size

size of the server platform in unitsleave empty for blade server

is_short_depth

whether the platform occupies only part of the rack depth
  • can only take two values:
    • true — platform occupies half the rack depth
    • false — platform fully occupies the rack depth
  • leave empty for blade server

Optional fields:

Field

Field Description

cpu_socket_count

number of CPU sockets

ram_slot_count

number of RAM slots

max_ram

maximum RAM capacity

hdd_slot_count

number of HDD slots

pci_slot_count

number of PCI slots

cpu_socket_name

CPU socket name

Blade Server Chassis

Blade server chassis row syntax
name,size,server_slot_count,rack,unit,is_short_depth,side,note

Required fields:

Field

Field DescriptionNotes

name

chassis name

size

c hassis size in the rack

server_slot_count

number of blade server slots in the chassis

rack

name of the rack where the chassis is installed

unit

identifier of the rack unit where the device is installed

is_short_depth

whether the chassis occupies only part of the rack depth

  • can only take two values:
    • true — platform occupies half the rack depth
    • false — platform fully occupies the rack depth
  • leave empty for blade server

side

side of the rack unit

  • can only take two values:
    • front — platform is installed in the front part of the rack
    • rear — platform is installed in the rear part of the rack
  • required only if is_short_depth has the value true

Optional fields:

Field

Field Description

note

note

Servers

Server row syntax
name,platform,rack,unit,side,chassis,slot,configuration,mac,owner,installed_os,note

Required fields:

Field

Field DescriptionNotes

name

server name

platform

server platform name

rack

rack nameleave empty for blade server

unit

rack unit identifierleave empty for blade server

side

side of the rack unit

  • can only take two values:
    • front — platform is installed in the front part of the rack
    • rear — platform is installed in the rear part of the rack
  • leave empty for blade server

chassis

chassis nameif this is not a blade server, leave empty

slot

chassis slot numberif this is not a blade server, leave empty

Optional fields:

Field

Field Description

configuration

server configuration

mac

server MAC address

owner

server owner name

installed_os

name of the OS installed on the server

note

note

BMC

BMC row syntax
address,user,password,type,server,web_url

Required fields:

Field

Field DescriptionNotes
addressBMC IP address


userBMC administrator username
passwordAdministrator password
typeBMC protocol and protocol version

possible values:

  • lan — IPMI v1.5
  • lanplus — IPMI v2.0
  • redfish — Redfish v1
serverName of the server associated with the BMC

Optional fields:

Field

Field Description

web_url

BMC URL address, used when opening via the proxying module

Switches

The syntax and required fields for switches depend on the protocol used:

Switch row syntax with SNMP protocol
proto,name,device,ip,rack,unit,size,is_short_depth,side,note,snmp_version,snmp_community,snmp_auth_username,snmp_auth_password,snmp_auth_level,snmp_auth_proto,snmp_privacy_protocol,snmp_privacy_password
Switch row syntax with NetConf protocol
proto,name,device,ip,rack,unit,size,is_short_depth,side,note,netconf_username,netconf_password,netconf_port
Switch row syntax with NX-API protocol
proto,name,device,ip,rack,unit,size,is_short_depth,side,note,nxapi_username,nxapi_password,nxapi_port,nxapi_protocol
Switch row syntax with eAPI protocol
proto,name,device,ip,rack,unit,size,is_short_depth,side,note,eapi_username,eapi_password
Switch row syntax with RouterOS API protocol
proto,name,device,ip,rack,unit,size,is_short_depth,side,note,mikrotik_username,mikrotik_password,mikrotik_port,mikrotik_ssl

Fields required for all types of switches:

Field

Field DescriptionNotes
protoswitch connection protocol 

possible values:

  • snmp
  • netconf
  • nxapi
  • eapi
  • mikrotik
nameswitch name
deviceinternal name of the switch handler
  • the parameter must contain only one name
  • examples of handler names:

    • zyxel_xgs_old
    • cisco_snmp
    • snmp_common
    • juniper_with_els
    • cisco_nexus_nxapi
    • arista_eapi
    • mikrotik_api
ipswitch IP address
servername of the server associated with the BMC

rack

name of the rack where the switch is installed

unit

identifier of the rack unit where the device is installed

size

switch size in units

is_short_depth

whether the switch occupies only part of the rack depth

can only take two values:

  • true — device occupies half the rack depth
  • false — device fully occupies the rack depth

side

side of the rack unit

  • can only take two values:
    • front — device is installed in the front part of the rack
    • rear — device is installed in the rear part of the rack
  • required only if is_short_depth has the value true

Fields required only for switches with SNMP v1/v2/v3 protocol:

Field

Field DescriptionNotes
snmp_communitycommunity name


snmp_versionSNMP protocol version

possible values:

  • 1 — v1
  • 2 — v2
  • 3 — v3

Fields required only for switches with SNMP v3 communication protocol:

Field

Field DescriptionNotes
snmp_auth_usernameusername for SNMP access


snmp_auth_passwordauthentication protocol passphrase
snmp_auth_levelauthentication level

possible values:

  • 1 — no_auth_or_privacy
  • 2 — auth_without_privacy
  • 3 — auth_with_privacy
snmp_auth_protoauthentication protocol

possible values:

  • md5
  • sha
snmp_privacy_protocolsecurity protocol

possible values:

  • aes
  • des

snmp_privacy_password

security protocol passphrase

Fields required only for switches with NetConf communication protocol: :

Field

Field Description

netconf_username

username for NetConf protocol


netconf_password


password for NetConf protocol
netconf_portport for NetConf protocol

Fields required only for switches with NX-API communication protocol: :

Field

Field DescriptionNotes

nxapi_username

username for NX-API protocol


nxapi_password


password for NX-API protocol
nxapi_portport for NX-API protocol
nxapi_protocolprotocol type

possible values:

  • http
  • https

Fields required only for switches with eAPI communication protocol: :

Field

Field DescriptionNotes
eapi_usernameusername for eAPI protocol


eapi_passwordpassword for eAPI protocol

Fields required only for switches with RouterOS API communication protocol:

Field

Field DescriptionNotes
mikrotik_usernameusername for RouterOS API protocol


mikrotik_passwordpassword for RouterOS API protocol
mikrotik_portport for RouterOS API protocol
mikrotik_sslSSL value for RouterOS API protocol

can only have two values:

  • true — use SSL
  • false — do not use SSL

Optional fields:

Field

Field Description

note

note

PDU

PDU row syntax
name,device,ip,rack,unit,size,is_short_depth,side,note,snmp_version,snmp_community,snmp_auth_username,snmp_auth_password,snmp_auth_level,snmp_auth_proto,snmp_privacy_protocol,snmp_privacy_password

Required fields:

Field

Field DescriptionNotes
namePDU name

     

devicePDU handler name 

handler options:

  • apc
  • aten
  • ats
  • c3_solutions
  • rpcm
ipPDU IP address

rack

rack name where the device is installed

unit

identifier of the rack unit where the device is installed

size

device size in units

is_short_depth

whether the device occupies only part of the rack depth

can only take two values:

  • true — device occupies half the rack depth
  • false — device fully occupies the rack depth

side

side of the rack unit

  • can only take two values:
    • front — device is installed in the front part of the rack
    • rear — device is installed in the rear part of the rack
  • required only if is_short_depth has the value true

snmp_community

Community name


Fields required only for devices with SNMP communication protocol: v3:

Field

Field DescriptionNotes
snmp_auth_usernameusername for SNMP access


snmp_auth_passwordauthentication protocol passphrase
snmp_auth_levelauthentication level

possible values:

  • 1 — no_auth_or_privacy
  • 2 — auth_without_privacy
  • 3 — auth_with_privacy
snmp_auth_protoauthentication protocol

possible values:

  • md5
  • sha
snmp_privacy_protocolsecurity protocol

possible values:

  • aes
  • des

Optional fields:

Field

Field DescriptionNotes

note

note

      

snmp_version

version of the SNMP protocol

default is 2

UPS

UPS row syntax
name,device,ip,rack,unit,size,is_short_depth,side,note,snmp_version,snmp_community,snmp_auth_username,snmp_auth_password,snmp_auth_level,snmp_auth_proto,snmp_privacy_protocol,snmp_privacy_password

Required fields:

Field

Field DescriptionNotes
nameUPS name

     

deviceUPS handler name

handler options:

  • emerson_liebert
  • keor_mod_250
  • apc
ipUPS IP address

rack

rack name where the device is installed

unit

identifier of the rack unit where the device is installed

size

device size in units

is_short_depth

whether the device occupies only part of the rack depth

can only take two values:

  • true — device occupies half the rack depth
  • false — device fully occupies the rack depth

side

side of the rack unit

  • can only take two values:
    • front — device is installed in the front part of the rack
    • rear — device is installed in the rear part of the rack
  • required only if is_short_depth has the value true

Fields required only for devices with SNMP communication protocol: v1/v2/v3:

Field

Field Description
snmp_communitycommunity name
snmp_versionSNMP protocol version

Fields required only for devices with SNMP communication protocol: v3:

Field

Field DescriptionNotes
snmp_auth_usernameusername for SNMP access


snmp_auth_passwordauthentication protocol passphrase
snmp_auth_levelauthentication level

possible values:

  • 1 — no_auth_or_privacy
  • 2 — auth_without_privacy
  • 3 — auth_with_privacy
snmp_auth_protoauthentication protocol

possible values:

  • md5
  • sha
snmp_privacy_protocolsecurity protocol

possible values:

  • aes
  • des

Optional fields:

Field

Field Description

note

note

Server IP Addresses

Server IP address row syntax
ip,domain,server,is_main

Required fields:

Field

Field Description

ip

server IP address
domainIP address domain
servername of the server to which the IP address will be added

Optional fields:

Field

Field DescriptionNotes
is_main
       
whether the IP address is the main one for the server

can only take two values:

  • true — IP address is the main one
  • false (default) — IP address is not the main one

Users

Rack row syntax
name,password,level

Required fields:

Field

Field DescriptionNotes

name

username
passworduser password
levelaccess level

possible options:

  • admin — administrator
  • user — user

Example SCV File

#rack
csv_rack,90
csv_rack_2,40,small rack
#platform
csv_platform,server,0.5,true
csv_platform2,server,1,false,2,2,4096,2,2,LGA1700
csv_blade_platform,blade,1.5
#chassis
csv_chassis,0.5,10,csv_rack,39.5,true,front
csv_chassis_2,1.5,2,csv_rack,38,false,,my new chassis\
#user
csvuser@example.com,password,admin
csvuser2@example.com,RuRuRuRu,user
#server
csv_server_1,csv_platform,csv_rack,30,front,,
csv_server_2,csv_blade_platform,,,,csv_chassis,1
csv_server_3,csv_blade_platform,,,,csv_chassis_2,2,,,csvuser@example.com
csv_server_4,csv_platform,csv_rack,15,front,,,configuration,AA:AA:AA:AA:AA:BC
csv_server_5,csv_platform,csv_rack,16,front,,
#bmc
1.2.3.4,ADMIN,password,redfish,csv_server_1
4.3.2.1,NoADMIN,no password,lanplus,csv_server_2,https://www.google.com
#server_ip
10.99.0.77,csv.domain,csv_server_1,true
10.99.0.78,csv.domain,csv_server_1
10.99.0.79,csv.domain,csv_server_1
2001:db8:abcd:1234::2,csv.domain,csv_server_1
#ups
csv_ups_1,emerson_liebert_nx,2.2.2.2,csv_rack,27,1,false,,some note,2,community
csv_ups_2,keor_mod_250,2.2.2.3,csv_rack,28,1,false,,some note,2,community
csv_ups_3,apc,2.2.2.4,csv_rack,25,1,false,,,1,community
csv_ups_4,apc,2.2.2.5,csv_rack,26,1,false,,,3,community,username,password,3,sha,aes,private_key
#pdu
csv_pdu_1,apc,2.2.1.4,csv_rack,29,0.5,false,,,2,community
csv_pdu_2,raritan,2.2.1.5,csv_rack,29.5,0.5,false,,,2,community
csv_pdu_3,rpcm,2.2.1.6,csv_rack,22,0.5,false,,pdu note,1,community
csv_pdu_4,c3_solutions,2.2.1.7,csv_rack,22.5,0.5,false,,pdu note,3,community,username,password,3,sha,aes,private_key
#switch
snmp,csv_switch_1,zyxel_xgs_old,1.2.2.4,csv_rack,23,0.5,true,front,,2,community
snmp,csv_switch_2,cisco_snmp,1.2.2.5,csv_rack,23.5,0.5,true,rear,switch note,1,community
snmp,csv_switch_3,snmp_common,1.2.2.6,csv_rack,21,1,false,,,3,community,username,password,3,sha,aes,private_key
netconf,csv_switch_4,juniper_with_els,1.2.2.7,csv_rack,20,1,false,,,netconf_user,netconf_password,555
nxapi,csv_switch_5,cisco_nexus_nxapi,1.2.2.8,csv_rack,19,1,false,,,nxapi_username,nxapi_password,777,https
eapi,csv_switch_6,arista_eapi,1.2.2.9,csv_rack,18,1,false,,,eapi_username,eapi_password
mikrotik,csv_switch_7,mikrotik_api,1.2.2.10,csv_rack,17,1,false,,,mikrotik_username,mikrotik_password,777,true

Importing Equipment

The equipment import operation is irreversible. Before importing, be sure to back up the platform. For more information on backup, see the article Creating platform backups.

To import equipment from a CSV file:

  1. Go to SettingsEquipment import.
  2. Specify the Location to which the equipment will be added.
  3. Select the file to upload.
  4. Click Import.
Interface of the Equipment import window
Interface of the Equipment import window

Upon completion of the operation, you will receive a notification in the platform interface.

Diagnostics

After performing at least one operation, you can view its execution logs in the Equipment import window.

Interface of the Equipment import window with operation logs expanded
Interface of the Equipment import window with operation logs expanded
May be useful
The article was last updated on 12.17.2025. The article was prepared by technical writers of ISPsystem