Configure proxy for an already installed On-Premise Poller

Configure proxy for an already installed On-Premise Poller

Please follow the below steps for an On-Premise Poller installed in a Windows server:
  1. Go to the Run dialog box.
  2. Type in services.msc and press Enter. This will open Windows Services.
  3. Stop the service name SITE24X7_ONPREMISEMONITOR. i.e. Stop the Site24x7 On-Premise Poller process.
  4. Check if .eum file is present inside the folder in which Site24x7 On-Premise Poller is installed. 
  5. Go to C:\Program Files (x86)\Site24x7OnPremisePoller\conf
  6. If .eum file is present, edit the following keys in the file serveragent.config in /conf/folder
    PROXY=true
    PROXY_HOST=<User Proxy Host>
    PROXY_PORT=<User Proxy Port>
    PROXY_USERNAME=<User Proxy Username> 
    PROXY_PASSWORD=<User proxy Password>
  7. If .eum file is not present, edit the following keys in the file install.txt in /conf/folder.
    PROXY=true
    PROXY_HOST=<User Proxy Host>
    PROXY_PORT=<User Proxy Port>
    PROXY_USER=<User Proxy Username>
    PROXY_PASS=<User proxy Password>
  8. Go to services.msc > start the service SITE24X7_ONPREMISEMONITOR to start the Site24x7 On-Premise Poller process.
For a Linux server, please follow the steps below:
  1. Go to /opt/Site24x7OnPremisePoller and stop the Site24x7 On-Premise Poller process. 
    For older On-Premise Poller versions, use:
sudo sh StopServer.sh
    For On-Premise Poller version 6.7.9 and later (installed as a service), use:  sudo systemctl stop site24x7-onpremise-poller 
  2. Check if .eum file is present inside the folder in which Site24x7 On-Premise Poller is installed.
  3. Go to /opt/Site24x7OnPremisePoller/conf/
  4. If .eum file is present, edit the following keys in the file serveragent.config in /conf/folder.
  5. PROXY=true
    PROXY_HOST=<User Proxy Host>
    PROXY_PORT=<User Proxy Port>
    PROXY_USERNAME=<User Proxy Username> 
    PROXY_PASSWORD=<User proxy Password>
  6. If .eum file is not present, edit the following keys in the file install.txt in /conf/folder
    PROXY=true
    PROXY_HOST=<User Proxy Host>
    PROXY_PORT=<User Proxy Port>
    PROXY_USER=<User Proxy Username>
    PROXY_PASS=<User proxy Password>
  7. Go to /opt/Site24x7OnPremisePoller and execute the command below to start the Site24x7 On-Premise Poller process.
    For older On-Premise Poller versions, use:
    sudo nohup ./StartServer.sh >> logs/shell_script.log 2>&1 &
    For On-Premise Poller version 6.7.9 and later (installed as a service), use:
    sudo systemctl start site24x7-onpremise-poller
The proxy password will be encrypted automatically, once the poller restarts.
Related Articles: