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
Enter the Traffic Monitor server into Traffic Ops
Make sure the FQDN of the Traffic Monitor is resolvable in DNS.
Install Traffic Monitor:
sudo yum -y install traffic_monitor
Configure Traffic Monitor. See rl-tm-configure
Start the service:
sudo service traffic_monitor start
Verify Traffic Monitor is running by pointing your browser to port 80 on the Traffic Monitor host.
Configuring Traffic Monitor¶
Traffic Monitor is configured via two JSON configuration files,
traffic_monitor.cfg, by default located in the
conf directory in the install location.
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.
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