Network Management

How to trigger the agent to update in Orion

The article discusses how to force an agent to perform the upgrade to the latest version

First published date

4/11/2021 7:58 AM

Last published date

4/11/2021 7:58 AM

Overview

After performing the upgrade of the Orion Platform, some agents have upgraded, but the agent's modules could still show the old version.

Product section

Orion Platform

Cause

The .NET Framework is not updated on the Agent hosting node and the agent is using older versions of plugins to ensure polling.

Resolution

Please make sure the Agent hosting node is meeting the requirements from this documentation:  To trigger the upgrade of the agent, please follow these steps: 
  1. Install SWQL Studio by following the steps from this article: 
  2. Open SWQL Studio 
  3. Connect to Main Poller using the account with administrative privileges
  4. In Object Explorer, search for Orion.AgentManagement.Agent
  5. Expand the Orion.AgentManagement
  6. Expand the Orion.AgentManagement.Agent
  7. Right-click UninstallPlugin and select Invoke... option
  8. In the new form, input the following information:
    • agentId - this is the ID of the agent that needs upgrading. Search the AgentManagement_Agents table to locate the AgentID.
    • pluginId - By using the AgentID obtained from AgentManagement_Agents filter the AgentManagement_AgentPlugins. For upgrading the agent, the recommended plugin is Core
  9. Click Invoke button.
  10. In Object explorer Right-click DeployPlugin and select Invoke... option.
  11. In the new form, enter the same information as in Step 8
  12. Click Invoke button.
Following these steps, the agent hosting server will likely require a reboot, and Agent Status will be Pending Reboot. To learn more about the agent status, please check the following documentation:  For a better understanding of the Agent Plugin status, please check the following documentation: