Changing RMM Central Server's Name/IP/Port Details in Agent

Problem

Agents not communicating with the server after migration.

Cause

The new server details like FQDN, IP, Port numbers are not available with the agent.

Resolution

Changing the following details in the RMM Central Agents:

  • The Name or the IP Address of the RMM Central Server
  • The HTTP and HTTPS ports that are used by the RMM Central Agents to communicate with the Server
  • The mode of the communication as HTTP or HTTPS

To change the values, either a GPO or a cscript can be used. This page explains about using cscript/commands to achieve the same.

Steps:

  1. For Windows - Download the configureDesktopAgentServerCommunication.txt and rename it to configureDesktopAgentServerCommunication.vbs.
    For Mac - Download the configureDesktopAgentServerCommunication_mac.txt and rename it to configureDesktopAgentServerCommunication.sh.
    For Linux - Download the configureDesktopAgentServerCommunication_linux.txt and rename it to configureDesktopAgentServerCommunication.sh.
  2. Copy the script to the client computers where the agent is installed.
  3. Open a command prompt/terminal.
  4. To execute the script for Mac & Linux agents, add executable permission by running the command 'chmod +x configureDesktopAgentServerCommunication.sh'
  5. Execute the command given below:

    For Windows - cscript configureDesktopAgentServerCommunication.vbs <DCServerName> <DCServer IP Address> <DCServer HTTP Port> <DCServer HTTPS Port> <DCServerAgent Comm Protocol>

    Example: cscript configureDesktopAgentServerCommunication.vbs joe.manageengine.com 192.168.112.146 8090 8091 http

    For Mac - sudo ./configureDesktopAgentServerCommunication.sh <DCServerName> <DCServer IP Address> <DCServer HTTP Port> <DCServer HTTPS Port> <DCServerAgent Comm Protocol>

    Example: sudo ./configureDesktopAgentServerCommunication.sh joe.manageengine.com 192.168.112.146 8090 8091 http

    For Linux - sudo ./configureDesktopAgentServerCommunication.sh <server_name> <server_ip> <http_port> <'http'/'https'> 

    Example - sudo ./configureDesktopAgentServerCommunication.sh joe.manageengine.com 192.168.112.146 8090 http

If you feel this KB article is incomplete or does not contain the information required to help you resolve your issue, send us an e-mail message with the required log files. Our support team will contact you shortly and help you resolve the issues.