How do I manually change the IP address or hostname of On-Premise Poller

How do I manually change the IP address or hostname of On-Premise Poller?

You can manually change the On-Premise Poller's IP address or hostname by following the steps below.

  1. Stop the On-Premise Poller service.

Windows: Navigate to Start > Settings > Control Panel. Under Administrative Tools, click Services. You can also navigate to services.msc from Run. Stop the Site24x7 On-Premise Poller service as an administrator.
Linux: Execute the command sh StopServer.sh -force 

  1. Navigate to the <poller_installed_directory>/conf/ folder.

Below are the default directories for the On-Premise Poller installation:
Windows: C:\Program Files(x86)\Site24x7OnPremisePoller
Linux: /opt/Site24x7OnPremisePoller

  1. Edit the serveragent.config file.

  1. To change the IP address, add the following key:
    LOCAL_IPADDRESS=<user_defined_ipaddress>
    To change the hostname, add this key:
    LOCAL_HOSTNAME=<user_defined_hostname that will be set to poller>

  1. Restart the On-Premise Poller.

Windows: Go to services.msc and start the service SITE24X7_ONPREMISEMONITOR
Linux: Execute the command sh StartServer.sh &

 

Changing the IP address or hostname in the On-Premise Poller will not disturb the monitoring of any of the associated monitors.