Skip to content
Guides & References

Moving from Oxidized

Bring your Oxidized device list into rConfig: what the importer carries across, what stays in Oxidized, and the decisions to make before you run it.

Inventory & MigrationUpdated
On this page

Moving from Oxidized

If this is you: Oxidized backs up your devices today from a router.db style hosts file, and you want rConfig to take over. You need the device list moved without retyping it, and you want to know what you lose and what you keep.

The recommended route: run rConfig’s Oxidized importer once to bring the inventory across, keep Oxidized running and readable while rConfig proves itself, then turn Oxidized’s collection off. The importer is a one-off migration tool, not a sync.

Figure MIG-9: concepts in your current tool mapped onto rConfig. The device list becomes devices, groups or device types become tags and command groups, credentials become credential sets, the collection method or model becomes connection templates and vendors, and configuration history stays in the old tool
Figure MIG-9: How another tool's concepts map onto rConfig. The importers bring the inventory, not the history.

What comes across, and what doesn’t

The importer reads the Oxidized hosts file, one device per line in the form hostname:device_type[:username:password[:enable_password]], and creates one rConfig device per valid line.

Comes across How
Device name and address From the first field. A hostname is resolved through DNS; from V8.4.2 an IPv4 address is used as it is and also becomes the device name. IPv6 can’t be used, because the colon is the field separator
Template, vendor, command group, model From the device type mapping you create for each Oxidized device_type (see the decisions below)
Prompts From the mapping, with {device_name} filled in per device
Tags From the mapping
Credentials Embedded username, password and enable password on the line, or the credential set you pick for lines that have none
Role Each imported device gets the Admin role
Doesn’t come across What to do
Configuration history Stays in Oxidized’s output store (Git or files). Keep it readable until you no longer need the old history
Backup schedules None are created. Set up scheduled tasks in rConfig after the import
A first backup The import doesn’t queue a download. Run one per device or let the first schedule pick them up
Devices that already exist A device whose name or IP address already matches an rConfig device is skipped, not updated

Decisions to make first

  • Map every Oxidized device type. Each device_type in the hosts file (for example ios, nxos, junos) needs a mapping to an rConfig template, vendor, command group and model. Lines with an unmapped type fail and go to the failures log. The templates, vendors and command groups must exist in rConfig before you map. The connection template guides help you pick a template per platform.
  • Decide where credentials live. Lines with embedded credentials keep them on the device record. For everything else you choose one credential set at load time. Credential sets are easier to rotate, so consider moving embedded credentials into sets after the import.
  • Check DNS. Hostnames must resolve from the rConfig server, or those lines fail.
  • Plan the tags. Tags come from the mapping, so one tag per Oxidized group or device type makes the imported devices easy to find, schedule and scope later.

How the import runs

Three commands, run on the rConfig server, in order: create the device type mappings, load the hosts file into an import file (JSON in storage/app/rconfig/tempdir/, with a failures log beside it), then import that file. The import validates every device first, has a dry-run option, and writes all devices in one transaction, so a failure part way leaves nothing half imported. The commands, options and file formats are in the main docs.

rConfig docsOxidized Import ToolImport devices from Oxidized to rConfig V8 using the automated CLI import tool.Read the docs

How to know it worked

  • The device count in rConfig matches the hosts file, less the lines in the failures log and any skipped duplicates.
  • A manual download succeeds on a sample of devices from each device type. A failure here usually points at the mapping’s template or prompts.
  • Once schedules are set, rConfig’s backups run cleanly for a full cycle alongside Oxidized before you switch Oxidized off. See the cutover plan and proving it worked.

Type to search.