User roles and technical requirements for this article
| Browser support || Google Chrome 7.2.502 or later |
Edgev.79 or later
The following article explains how to deploy the latest Watchdog Agent to environments that support Docker Containers.
Docker containers require an activation token. Watchdog offers two options for obtaining activation tokens.
Shared activation token Shared tokens are ideal for large deployments and make it easy to activate many Docker containers at once
Generate a token from the Watchdog Dashboard For small deployments, or to simplify agent identification after activation, generate activation tokens by adding agents in the Watchdog Dashboard or created in bulk via Microsoft Excel upload.
Step 1: Navigate to the Agent page
Step 2: Add new agents
Add one or more agents manually using the Add Agent entry form
Click to add a field. Check Skip Activation Email.
Add up to 100 agents at once by excel upload.
Fix any errors and click
The following example shows installation for a generic linux environment. Adapt the Docker container commands to the installation requirements of the environment you’re using.
Docker run -e ACTIVATION_TOKEN=<token> -e HOSTNAME=$HOSTNAME -e HOST_SERIAL_NUMBER=`sudo dmidecode -s system-serial-number` -v <some persistent storage>:/etc/watchdog —network=host -it -d cloudwan/watchdogagent:0.2.21
Note: HOSTNAME and HOST_SERIAL_NUMBER are not mandatory, but adding them during installation will make it easier to search, identify, and tag the agents via the API or Dashboard.
Return to the Agent tab on the Watchdog Dashboard. Search for the agent. A green dot indicates that the agent is active. Allow about five minutes for onboarding.