Migrate from Infoblox NetMRI to rConfig V8 Core
After reading this page, you can migrate your Infoblox NetMRI device inventory into rConfig V8 Core using the NetMRI Import Tool. Unlike file based sources, NetMRI is queried directly over its REST API, so the workflow starts with a one time connection setup, then follows the same map, load, and import pattern used by the other import tools. (V8+)
When to use this
Section titled “When to use this”Use this page when you are moving off Infoblox NetMRI and want your device inventory in rConfig V8 Core without re-entering each device by hand. It suits teams that want dedicated configuration backup and versioning rather than NetMRI’s broader network discovery focus. If you are still comparing the two, see why rConfig is a strong Infoblox NetMRI alternative; this page covers the migration itself.
What you get from the migration
Section titled “What you get from the migration”NetMRI focuses on network discovery and automation. rConfig V8 Core provides a dedicated network configuration management platform with versioned configuration backups: full history and diffing of every device configuration. The NetMRI Import Tool makes the transition straightforward by pulling your inventory directly from the API and bulk importing devices with consistent templates, vendors, and categories.
How it works
Section titled “How it works”The import process follows four steps:
- Configure the NetMRI connection: store and test the NetMRI REST API connection details.
- Create device type mappings: define how NetMRI device types translate to rConfig templates, vendors, and categories.
- Load devices from NetMRI: query the NetMRI API and generate import ready JSON.
- Import devices to rConfig: bulk import devices with validated configurations.
File locations
Section titled “File locations”The import tool uses the following file locations:
- Connection file:
storage/app/rconfig/netmri_connection.json - Temporary files:
storage/app/rconfig/tempdir/ - Import JSON files:
storage/app/rconfig/tempdir/rconfig_import_YYYY-MM-DD_HH-mm-ss.json
These directories are created automatically if they do not exist.
Prerequisites
Section titled “Prerequisites”Before importing devices, make sure you have:
- A reachable NetMRI appliance with the REST API enabled (the connection defaults to HTTPS on port 443)
- NetMRI API credentials with permission to read the device inventory
- Administrator access to rConfig V8 Core
- Device templates, vendors, and categories configured in rConfig matching your NetMRI device types
- At least one credential set created in rConfig (NetMRI does not export usable device passwords)
- SSH or command-line access to the rConfig server
Step 1: Configure the NetMRI connection
Section titled “Step 1: Configure the NetMRI connection”Before you can load any devices, tell rConfig how to reach the NetMRI API. The connection details are stored at storage/app/rconfig/netmri_connection.json.
Run the base command to see the available options:
php /var/www/html/rconfig/artisan rconfig:netmri-connectionThe command supports the following options:
--setup- Set up the NetMRI connection interactively--test- Test the existing connection--show- Show the current connection info--edit-filters- Edit the device filters applied when loading--set-url=URL- Update the API URL--clear- Clear the stored connection info--info- Display command help and usage information
Run the setup wizard to store the connection:
php /var/www/html/rconfig/artisan rconfig:netmri-connection --setupThe wizard prompts you for the host, port (defaults to 443), username, password, and whether to verify the TLS certificate.
Test the connection before going any further:
php /var/www/html/rconfig/artisan rconfig:netmri-connection --testReview or remove the stored configuration at any time:
php /var/www/html/rconfig/artisan rconfig:netmri-connection --showphp /var/www/html/rconfig/artisan rconfig:netmri-connection --clearStep 2: Create device type mappings
Section titled “Step 2: Create device type mappings”NetMRI uses its own device type and vendor naming. rConfig uses templates. Map each NetMRI device type to an rConfig template, vendor, and category before importing.
Run the interactive mappings command:
php /var/www/html/rconfig/artisan rconfig:netmri-device-mappingsThis command lets you view, add, edit, and remove mappings between NetMRI device types and rConfig templates. For each mapping you provide:
- NetMRI device type: the device type reported by NetMRI
- rConfig template: the device template ID to use for this device type
- Vendor: the vendor ID associated with this device type
- Category: the category ID for organising devices
- Tags: multi-select tags for device classification
- Prompts: device enable and main prompts (use
{device_name}as the placeholder)
Step 3: Load devices from NetMRI
Section titled “Step 3: Load devices from NetMRI”Run the load command to query the NetMRI API and convert the returned devices into an intermediate JSON file:
php /var/www/html/rconfig/artisan rconfig:netmri-load-devicesThe command supports the following options:
--batch-size=100- Number of devices to fetch per API request (default: 100)--info- Display command help and usage information
The loader fetches devices in batches, applies your device type mappings, and writes a timestamped JSON file to storage/app/rconfig/tempdir. Set a larger batch size for big inventories:
php /var/www/html/rconfig/artisan rconfig:netmri-load-devices --batch-size=250Step 4: Import devices to rConfig
Section titled “Step 4: Import devices to rConfig”Once you are happy with the JSON file, import it into rConfig:
php /var/www/html/rconfig/artisan rconfig:netmri-import-devices /path/to/rconfig_import.jsonThe command supports the following options:
--dry-run- Preview the import without modifying the database--info- Display command help and usage information
Preview the import first with a dry run. It validates each device and reports what would be imported without writing any records:
php /var/www/html/rconfig/artisan rconfig:netmri-import-devices \ --dry-run \ /path/to/rconfig_import.jsonRun the actual import once the dry run looks correct:
php /var/www/html/rconfig/artisan rconfig:netmri-import-devices \ /path/to/rconfig_import.jsonComplete workflow example
Section titled “Complete workflow example”# Step 1: Configure and test the NetMRI connectionphp /var/www/html/rconfig/artisan rconfig:netmri-connection --setupphp /var/www/html/rconfig/artisan rconfig:netmri-connection --test
# Step 2: Create device type mappingsphp /var/www/html/rconfig/artisan rconfig:netmri-device-mappings
# Step 3: Load devices from NetMRIphp /var/www/html/rconfig/artisan rconfig:netmri-load-devices --batch-size=100
# Review the generated JSON filecat storage/app/rconfig/tempdir/rconfig_import_2025-01-25_14-30-45.json
# Step 4: Preview import (dry run)php /var/www/html/rconfig/artisan rconfig:netmri-import-devices \ --dry-run \ storage/app/rconfig/tempdir/rconfig_import_2025-01-25_14-30-45.json
# Step 5: Run the production importphp /var/www/html/rconfig/artisan rconfig:netmri-import-devices \ storage/app/rconfig/tempdir/rconfig_import_2025-01-25_14-30-45.jsonCommon gotchas
Section titled “Common gotchas”Troubleshooting
Section titled “Troubleshooting”Why does the connection test fail?
Section titled “Why does the connection test fail?”The connection test or load command cannot reach NetMRI. Re-run the connection test and confirm the host, port, and credentials:
php /var/www/html/rconfig/artisan rconfig:netmri-connection --testIf you use a self signed certificate, set verify SSL to off when running --setup.
Why does loading report no credential sets?
Section titled “Why does loading report no credential sets?”Loading fails with “No device credentials found in the system”. Create at least one credential set in rConfig:
- Navigate to Settings > Credentials
- Create a new credential set with valid SSH credentials
- Re-run the load devices command
Why are devices skipped with a mapping error?
Section titled “Why are devices skipped with a mapping error?”Devices are skipped during loading with “No mapping found for device type”. Add the missing mapping:
php /var/www/html/rconfig/artisan rconfig:netmri-device-mappingsWhy does the import report an invalid ID?
Section titled “Why does the import report an invalid ID?”The import fails with “Template ID X does not exist” or “Vendor ID X not found”. Verify the IDs exist in rConfig (Settings > Templates, Vendors, or Categories) and update the mapping with the correct IDs.
Why are some devices marked as duplicates?
Section titled “Why are some devices marked as duplicates?”Validation shows “Device with same name or IP already exists”. Duplicates are automatically skipped during import. Review the import summary to confirm which devices were skipped.
Post-import tasks
Section titled “Post-import tasks”After a successful import:
- Verify the device inventory: navigate to Devices and confirm all devices imported correctly.
- Review credentials: check that devices have appropriate credential assignments.
- Test connectivity: use the device debug command to verify the connection to sample devices.
- Check relationships: verify tags, vendors, categories, and templates are correctly assigned.
- Configure schedules: set up automated backup schedules for device groups.
Frequently asked questions
Section titled “Frequently asked questions”Can I export the device inventory from Infoblox NetMRI?
Section titled “Can I export the device inventory from Infoblox NetMRI?”Yes. rConfig queries NetMRI directly over its REST API and converts the returned devices into an import ready JSON file. The load command fetches devices in batches and applies your device type mappings.
Will device credentials transfer from NetMRI?
Section titled “Will device credentials transfer from NetMRI?”No. NetMRI does not export usable device passwords. Create at least one credential set in rConfig before loading devices, then assign credentials to the imported devices afterwards.
Does the NetMRI REST API need to be enabled?
Section titled “Does the NetMRI REST API need to be enabled?”Yes. Enable the REST API on the NetMRI appliance and use an account that can read the device inventory. The connection defaults to HTTPS on port 443.
Does rConfig replace NetMRI for configuration management?
Section titled “Does rConfig replace NetMRI for configuration management?”Yes, for configuration backup and versioning. See the full feature comparison on rconfig.com for a side by side breakdown.
What’s next
Section titled “What’s next”- Oxidized Import: migrate a device inventory from Oxidized into rConfig V8 Core.
- Rancid Import: migrate a device inventory from RANCID into rConfig V8 Core.
- Scheduled Tasks: automate configuration backups for your imported devices.