Install the On-Premise Poller as a Docker container

Install the On-Premise Poller as a Docker container

You can install the Site24x7 On-Premise Poller as a Docker container using the Site24x7 On-Premise Poller Docker image.

Install the On-Premise Poller  

Run the following command to install the On-Premise Poller:

docker run -d \
-e KEY=<device_key> \
site24x7/poller_basic_docker_agent:latest

Replace <device_key> with the device key available in your Site24x7 account.

Configure a proxy server  

If the On-Premise Poller needs to connect to Site24x7 through a proxy server, use the following command:

docker run -d \
  -e KEY= <device_key> \
  -e PROXY=true \
  -e PROXY_HOST=<host> \
  -e PROXY_PORT=<port> \
  -e PROXY_USER=proxy_username \
  -e PROXY_PASS=proxy_password \
  site24x7/poller_basic_docker_agent:latest

Replace the placeholders with the corresponding proxy server details.

Notes
Avoid sharing or storing proxy credentials in plain text. Use your organization's recommended method for securely managing sensitive environment variables and credentials.

Verify the On-Premise Poller installation  

Check the running container  

Run the following command to verify that the On-Premise Poller container is running:

docker ps

Check the container logs  

Run the following command to view the On-Premise Poller container logs:

docker logs <container_name_or_id>

Replace <container_name_or_id> with the name or ID of the On-Premise Poller container.

Troubleshoot registration issues  

If the On-Premise Poller is not registered with Site24x7, follow these steps:

  1. Find the On-Premise Poller container:

docker ps

  1. Log in to the Docker container:

docker exec -it <container_name_or_id> /bin/bash

  1. Follow the troubleshooting steps.