---
title: "Step 6: Import Monitoring Agents – v6 to v7 Migration"
description: "Step 6 of the Nodinite v6 to v7 migration: in the Portal staged upgrade panel, confirm the Core Services are installed, paste and analyze the exported JSON, select the local server, and import the Monitoring Agents."
---

# <i class="fal fa-forward-step" aria-hidden="true"></i> Step 6: Import Monitoring Agents

Import the [Monitoring Agents][Monitoring] into the Portal with the JSON you exported in [Step 5][Step05]. The import runs in the **Nodinite 6 staged upgrade** panel of the Portal's **Review and Download** step and produces the second package, the agents package, that you deploy in [Step 7][Step07].

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding the Staged Agent Import

<div class="mermaid">
flowchart TB
    subgraph Prepare["fa:fa-file-import Prepare the import"]
        direction LR
        WC["fa:fa-globe v7 Web Client"] -->|"Export JSON"| JSON["fa:fa-file-code Edited JSON"]
        JSON -->|"Paste and analyze"| P["fa:fa-cloud Portal"]
        P -->|"Select local host"| IMP["fa:fa-file-import Imported agents"]
    end
    subgraph Deploy["fa:fa-terminal Deploy"]
        direction LR
        ZIP["fa:fa-file-zipper Agents package"] -->|"CLI"| SRV["fa:fa-server Core Services server"]
        SRV -->|"Then"| REM["fa:fa-server Other servers"]
        REM -->|"Mark complete"| DONE["fa:fa-circle-check Standard v7"]
    end
    Prepare -->|"Save and download"| Deploy
    style WC fill:#2678BD
    style JSON fill:#9E59BB
    style P fill:#2678BD
    style IMP fill:#9E59BB
    style ZIP fill:#E47528
    style SRV fill:#E47528
    style REM fill:#E47528
    style DONE fill:#93d16d
</div>

*The staged agent import. Blue nodes are user interfaces ([Nodinite Overview][] in the [Web Client][], and the Portal's staged upgrade panel), purple nodes are the agent definitions (the exported JSON, edited to local agents only), orange nodes are the package, its `deploy-environment` run on the [Core Services][] server, and the [agents on other servers][Step07 Remote], updated locally in [Step 7][Step07], and green is the result: a standard v7 Environment once you mark the migration complete.*

## Prerequisites

* [ ] [Step 5 completed – Monitoring Agents exported to JSON][Step05], with agent databases renamed as recommended there
* [ ] The edited JSON copied to the clipboard

## Steps

### 1. Confirm the Core Services Are Installed

Return to the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, open your environment, and go to the **Review and Download** step. The **Nodinite 6 staged upgrade** panel is at the bottom of the page. It has three numbered parts: **Step 2: Core services package** (the package you deployed in [Step 4][Step04]), **Step 3: Import exported monitor agents**, and **Step 4: Core plus agents package**, which stays disabled until the import is done.

![Nodinite 6 staged upgrade panel with the core package downloaded and the agent import still locked (7.12)][1]  
*Example of the staged upgrade panel before you confirm the Core Services: the JSON text area and **Analyze exported agents** are locked.*  

Select the checkbox:

> ☑ **I have installed the Nodinite 7 core services and the new Web Client is up and running**

This unlocks **Step 3: Import exported monitor agents**.

![Nodinite 6 staged upgrade panel with the core services checkbox selected and the Step 3 import unlocked (7.12)][6]  
*Example of the panel after you select the checkbox: paste the JSON exported from the [Nodinite Overview][] in the new [Web Client][], then click **Analyze exported agents**.*  

### 2. Paste the Exported JSON and Analyze

Paste the JSON from [Step 5][Step05] into the text area, then click **Analyze exported agents**:

![Analyze exported agents button][2]  
*Example of the Analyze exported agents button in the staged upgrade panel.*  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>IBM DataPower and Dynamics CRM agents must not be imported.</strong> Remove them from the JSON before you paste. They stay on the MSI-based installer.</p></div>
</aside>

### 3. Select the Local Server Host Name

The Portal lists every unique server host name found in the JSON. Select only the host name of the Core Services server:

![Hostname resolver for selecting the local server][3]  
*Example of the hostname resolver. Select only the server name that belongs to the local <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server, and clear any remote servers.*  

* **Keep** the entries that match the machine name of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server.
* **Clear** all remote server host names; the staged upgrade imports only agents on the Core Services server. You update the agents on other servers locally on each server, see [Update Agents on Other Servers][Step07 Remote].
* **Never keep `localhost`.** Replace it in the JSON before you paste ([Step 5][Step05]). If a `localhost` entry slips through, change it to the machine name in the [Agents step][V7 Agents] before you save, or the Portal won't let you save.

Click **Import selected agents**.

### 4. Review the Import Result

![Import selected agents result][4]  
*Example of the import result showing the imported agents with their types, ports, and service accounts.*  

Verify that:

* Only agents on the local server are listed
* No IBM DataPower or Dynamics CRM agents are listed
* Every agent shows the correct service account, port, and database name

### 5. Download the Agents Package

After a successful import, the Portal enables **Step 4: Core plus agents package**. The package contains one folder per server; you run each folder's command on its own server. If you have unsaved changes, a prompt appears:

![Unsaved changes modal][5]  
*Example of the unsaved changes modal; click Save and download to save the configuration and generate the agents package.*  

Click **Save and download**. The ZIP is named `<EnvironmentName>-upgrade-agents-environment.zip`. Continue with [Step 7: Download and Update Monitoring Agents][Step07].

## Completion Checklist

* [ ] Core services installed checkbox selected in the Portal
* [ ] JSON pasted and analyzed
* [ ] Only the local server host name selected; no remote servers, no `localhost`
* [ ] IBM DataPower and Dynamics CRM agents excluded
* [ ] Import completed and agents package downloaded

## Troubleshooting

### Analyze Button Does Nothing

Clicking **Analyze exported agents** has no visible effect. Check the following:

* The core services checkbox is selected
* The JSON is valid
* Every entry has a populated `UniqueId`; run [Step 4][Step04] again if it's missing

### Cannot Save – localhost Validation Error

The Portal rejects the save because an agent still references `localhost`. Check the following:

* Open the **Agents** step of the wizard
* Find the agent entry with `localhost` as the server
* Replace `localhost` with the machine name, then save and download again

### Duplicate Agent Type in List

Two or more agents of the same type appear after the import. Check the following:

* Edit the exported JSON to keep only one entry per agent type
* Paste and analyze again

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 7: Download and Update Monitoring Agents][Step07]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* [Updating from v6 to v7 – Migration Guide][Main]  
* [Step 5: Agents – fresh install reference][V7 Agents]  
* [Monitoring Agents Overview][Monitoring Agents Overview]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Nodinite6StagedSummaryPanel.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/AnalyzeExportAgents_Button.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/AnalyzeExportAgents_Resolver.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/ImportSelectedAgents_Result.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Unsaved_Changes_Modal.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/Nodinite6StagedSummaryPanel_Step2Checked.png

[Core Services]:https://docs.nodinite.com/core-services/overview/
[Main]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[Monitoring]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Agents Overview]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/overview/
[Nodinite Overview]:https://docs.nodinite.com/administration/tools/nodinite-overview/
[NodinitePortal]:https://portal.nodinite.com/
[Step04]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/04-deploy-with-cli/
[Step05]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/05-export-monitoring-agents/
[Step07]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/
[Step07 Remote]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/#7-update-agents-on-other-servers
[V7 Agents]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/