Comment on page
Enterprise Agent Deployment Using Linux Package Method
The ThousandEyes Enterprise Agent can be deployed on a variety of Linux distributions such as Ubuntu, Red Hat Enterprise Linux (RHEL), and CentOS. Supported operating systems can be found here: Supported Enterprise Agent Operating Systems.
Log in to the Linux system on which you will install the ThousandEyes Enterprise Agent. Log in either as the root user, or a user which has been granted “sudo” access to the necessary package management and other commands required for the installation. Then log into the ThousandEyes application and follow the steps found under Agents > Enterprise Agents > +Add New Agent > Linux Package, explained in detail below.
The first step downloads the installation script from ThousandEyes:
curl -Os https://downloads.thousandeyes.com/agent/install_thousandeyes.sh
The second command enables execute permission for the installation script:
chmod +x install_thousandeyes.sh
The third command runs the script:
sudo ./install_thousandeyes.sh -b <Account Group Installation Token>
- The Account Group Installation Token identifies the Agent as belonging to a specific Account Group and can be found under Cloud & Enterprise Agents > Agent Settings+Add New Agent > Show Account Group Token for Installation.
- If there are multiple Account Groups in your organization you will need to copy the token from the Account Group context in which you wish the Agent to be first seen. An Agent can be shared between groups. Additional information could be found here: Working with Agent settings.
- If multiple IP addresses are detected on the system, you will be prompted to choose the appropriate one during installation.
To display the advanced options when installing the Agent use either -h or --help flags.
$ ./install_thousandeyes.sh --help
Usage: ./install_thousandeyes.sh [-b [-L] [-W]] [-f] [-h] [-I INSTALL_LOG] [-l LOG_PATH] [-t PROXY_TYPE -P PROXY_LOCATION [-U PROXY_USER -u PROXY_PASS]] [-r REPO] [-s] [-v AGENT_VERSION] [-O] ACCOUNT_TOKEN
-b Also install BrowserBot, an agent component that collects
Page Load and Transaction test data using an instance
of the Chromium browser
-L Also install international language packages for BrowserBot (requires -b)
-W Install BrowserBot without its recommended packages (e.g. te-xvfb) (requires -b)
-f Force batch mode
-h Print this message
-I <INSTALL_LOG> Set the install log location to INSTALL_LOG
-l <LOG_PATH> Set the log path to LOG_PATH
-t <PROXY_TYPE> Set the proxy type: DIRECT (default, no proxy), STATIC, or PAC
-P <PROXY_LOCATION> Set the proxy location, format depends on PROXY_TYPE
PROXY_LOCATION is an invalid option for DIRECT
host:port for hostname or IPv4 address
[IPv6 IP]:port for IPv6 address
URL where PAC file can be found
-U <PROXY_USER> Set the proxy user to PROXY_USER
-u <PROXY_PASS> Set the proxy password to PROXY_PASS
-a <PROXY_AUTH_TYPE> Set the proxy authentication type: BASIC (default), NTLM
-r <REPO> Force the installer to install from REPO (overriding original ones)
-s Skip the repository creation
-v <AGENT_VERSION> Specify agent version
-O Install the agent, but do not start the agent services
To avoid synchronization problems with the ThousandEyes collector it is strongly recommended that you install a Network Time Protocol (NTP) package. To download and install an NTP package issue the following commands on the Agents host machine:
- 1.sudo apt-get install ntp (Download and install NTP service)
- 2.service ntp start (Start the NTP service)
- 3.service ntp status (View current status)If you wish to use alternate NTP servers, edit /etc/ntp.conf:
$ service ntp status
* NTP server is running
$ cat /etc/ntp.conf
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
# Specify one or more NTP servers.
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
Red Hat Enterprise Linux or CentOS
- 1.yum install ntp (Install the NTP service)
- 2.systemctl start ntpd (Start the NTP service)
- 3.systemctl enable ntpd (Enable NTP to start on reboots)
- 4.systemctl status ntpd (Print the current status)
If you wish to use alternate NTP servers, edit /etc/ntp.conf:
$ systemctl status ntpd
● ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-03-01 16:23:16 EST; 15min ago
Main PID: 12567 (ntpd)
└─12567 /usr/sbin/ntpd -u ntp:ntp -g
$ cat /etc/ntp.conf
# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
We recommend you ensure the NTP service starts at boot time by restarting your system and verifying the ntpd process is automatically started.