---
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."
---

# :fa-forward-step: 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].

## :fa-network-wired: 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>:fa-arrow-up-right-from-square:</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.*  

>[!IMPORTANT]
>**IBM DataPower and Dynamics CRM agents must not be imported.** Remove them from the JSON before you paste. They stay on the MSI-based installer.

### 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 :Nodinite: application server, and clear any remote servers.*  

* **Keep** the entries that match the machine name of the :Nodinite: 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

## :fa-hand-point-right: Next Steps

* [:fa-forward-step: Step 7: Download and Update Monitoring Agents][Step07]  

## :fa-link-horizontal: 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]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Nodinite6StagedSummaryPanel.png
[2]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/AnalyzeExportAgents_Button.png
[3]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/AnalyzeExportAgents_Resolver.png
[4]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/ImportSelectedAgents_Result.png
[5]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Unsaved_Changes_Modal.png
[6]:{ndm}/Documentation%20Pictures/IM/Portal/Env/v6_v7/Nodinite6StagedSummaryPanel_Step2Checked.png

[Core Services]:{ndr}/Core%20Services/Overview.md
[Main]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7.md
[Monitoring]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Agents Overview]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Overview.md
[Nodinite Overview]:{ndr}/Administration/6.%20Tools/1.%20Nodinite%20Overview.md
[NodinitePortal]:https://portal.nodinite.com/
[Step04]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/04%20-%20Deploy%20with%20CLI.md
[Step05]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/05%20-%20Export%20Monitoring%20Agents.md
[Step07]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/07%20-%20Download%20and%20Update%20Monitoring%20Agents.md
[Step07 Remote]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/07%20-%20Download%20and%20Update%20Monitoring%20Agents.md#7-update-agents-on-other-servers
[V7 Agents]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/05%20-%20Agents.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md