Cooking ThousandEyes Private Agents with Chef

Posted by on December 10th, 2013
March 18th, 2015

When your organization has multiple branch offices the IT architecture can get quite complicated. Installing ThousandEyes private agents in each branch location gives you more accurate data about the performance of your network infrastructure, as well as web-based SaaS applications that depend on that infrastructure. To get you up and running quickly we’re supplying modules for the most popular configuration management tools. A module to deploy ThousandEyes agents with Puppet was recently released, and today we’re releasing a teagent Chef cookbook to help you install and configure the ThousandEyes private agent with Chef.

ThousandEyes Private Agent Cookbook Attributes

Below is a list with the default attributes for the teagent cookbook. As a quick but important note to the attributes, you should always set the value for the ['teagent']['account_token'] key to your account token.

Key Type Description Default
[‘teagent’][‘browserbot’] Boolean Enable Browserbot false
[‘teagent’][‘international_langs’] Boolean Install the international language support package false
[‘teagent’][‘account_token’] String Account token for the agent sample value (equals a disabled agent)
[‘teagent’][‘log_path’] String Agent log path
[‘teagent’][‘proxy_host’] String Proxy hostname
[‘teagent’][‘proxy_port’] String Proxy port ‘0’
[‘teagent’][‘ip_version’] String Ip version for the agent to run with (‘ipv4’ or ‘ipv6’) ‘ipv4’

Using the Cookbook

This cookbook can be included as a recipe or added to your role list. If you choose to include the teagent cookbook in your node’s run_list don’t forget to set the default attributes.

The simplest way of configuring the ThousandEyes private agent is assuming all the default values. The one parameter that you should always set is the account token:

Installing the agent with BrowserBot support (which I highly recommend):

Some extra fonts might be required to properly display the result of a page load test. In that case you would want to install the agent with BrowserBot support and install the international language package:

You can also set the target log path location:

The agent can work with an http proxy and in this case you will need to set both the host and the port:

By default the ThousandEyes private agent will pick up your default IPv4 ip address (hence the default attributes list and values above). If you want to set the ThousandEyes private agent to use the default IPv6 ip address then you can set the ip_version to ‘ipv6’ as show in the example below:

Alternatively you include the teagent recipe to install and configure the ThousandEyes private agent. The only recipe you need to include is the default one.

Grab the recipes from our Github repo to start cooking ThousandEyes private agents with Chef!