Traffic Monitor Administration

  • These instructions are for the beta Golang Traffic Monitor, for the old Java version, see rl-tm-java.

Installing Traffic Monitor

The following are requirements to ensure an accurate set up:

  • CentOS 6
  • 8 vCPUs
  • 16GB RAM
  • Successful install of Traffic Ops
  • Administrative access to the Traffic Ops
  • Physical address of the site
  1. Enter the Traffic Monitor server into Traffic Ops

  2. Make sure the FQDN of the Traffic Monitor is resolvable in DNS.

  3. Install Traffic Monitor: sudo yum -y install traffic_monitor

  4. Configure Traffic Monitor. See rl-tm-configure

  5. Start the service: sudo service traffic_monitor start

    Starting traffic_monitor:
    
  6. Verify Traffic Monitor is running by pointing your browser to port 80 on the Traffic Monitor host.

Configuring Traffic Monitor

Configuration Overview

Traffic Monitor is configured via two JSON configuration files, traffic_ops.cfg and traffic_monitor.cfg, by default located in the conf directory in the install location.

The traffic_ops.cfg config contains Traffic Ops connection information. Specify the URL, username, and password for the instance of Traffic Ops for which this Traffic Monitor is a member.

The traffic_monitor.cfg config contains log file locations, as well as detailed application configuration variables, such as processing flush times and initial poll intervals.

Once started with the correct configuration, Traffic Monitor downloads its configuration from Traffic Ops and begins polling caches. Once every cache has been polled, health protocol state is available via RESTful JSON endpoints.

Troubleshooting and log files

Traffic Monitor log files are in /opt/traffic_monitor/var/log/.