Moving from a spreadsheet or another tool
If this is you: your devices are in a spreadsheet, or in a tool rConfig has no importer or Device Sync driver for, but which can export its device list.
The recommended route: for a one-off move, shape the list into rConfig’s device workbook and upload it. If the old tool is staying and its list keeps changing, export from it on a schedule and load the export with a script that calls the REST API. The concept map in Moving from Oxidized (Figure MIG-9) applies here too: you’re doing by hand what the importers do for their tools.
Choose by how long the old list lives
| Your situation | Route | Guide |
|---|---|---|
| A one-off move, then the spreadsheet or tool is retired | Device workbook, uploaded in the rConfig UI | Import a spreadsheet |
| The tool stays, and its device list keeps changing | A scheduled export, loaded by a script through the REST API | Automate a file feed |
| The list lives in your own system or code | Your code calls the REST API directly | Your own code: the REST API |
There is no built-in automated CSV import: the workbook upload runs in the rConfig UI, not on the token-authenticated REST API. A repeating feed is a script plus the REST API.
The device workbook
The workbook is a CSV or XLSX file (up to 2 MB per upload) with one device per row. Each row refers to things that already exist in rConfig by their ID: the vendor, connection template, command group, tags and, optionally, a credential set, a snippet credential set, a Vector agent and an SNMP polling group.
| Comes across | Notes |
|---|---|
| Name, IP address, model, prompts | Required on every row |
| Vendor, template, command group, tags | Required, as IDs of existing objects |
| Credentials | Either a credential set ID, or a username and password on the row |
| Roles | Optional role IDs. The Admin role is always added, so an imported device is never invisible |
| Port, Vector agent, SNMP polling group | Optional |
| Doesn’t come across | What to do |
|---|---|
| Configuration history | Stays in the old tool. Keep it readable until you no longer need it |
| Backup schedules | Set up scheduled tasks after the upload, by command group or tag |
Each row is checked before it is created: a blank required field, an invalid address or an ID that doesn’t exist is reported against that row with the reason.
rConfig docsDevice Import WorkbookA workbook to help rConfig users design and set up multiple device models efficiently, with best practices and dependencies for smooth onboarding.Read the docs
Decisions to make first
- Build the reference objects first. Vendors, templates, command groups, tags and credential sets must exist before the workbook can refer to them. The workbook guide gives the order.
- Translate the old tool’s grouping into tags. Whatever you group devices by today (site, role, customer) becomes tags, which then drive schedules, scoped roles and Smart Groups.
- Keep credentials out of the file where you can. A credential set ID per row keeps passwords out of a spreadsheet that may be copied around.
- For a feed, decide which system owns the list. If the old tool stays the owner, changes go there and the feed carries them in. The REST API recipe shows the shape of that script.
Uplink guideSync rConfig devices from your own source of truthA recipe that keeps rConfig's device list in step with a CMDB export or in-house inventory: create, update and disable devices through the REST API.Read the guide
How to know it worked
- The device count matches the rows uploaded, less the rows reported as errors.
- A manual download succeeds on a sample from each template, then schedules run cleanly for a full cycle. See the cutover plan.