Hi all, Just a heads-up. I've been frustrated by the limits of traffic_line for a while now, so I finally got around to implementing a replacement. Next week (hopefully), I'll be landing a new tool named traffic_ctl (TS-3367). This is intended as a replacement for traffic_line, with a regular extensible syntax that will let us expose much more functionality.
traffic_line will remain in the tree, but I hope to remove it for the 6.0 release (TS-3368). A sample traffic_ctl session: [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl Usage: traffic_ctl [OPTIONS] CMD [ARGS ...] Subcommands: alarm Manipulate alarms cluster Stop, restart and examine the cluster config Manipulate configuration records metric Manipulate performance metrics server Stop, restart and examine the server storage Manipulate cache storage Options: switch__________________type__default___description --debug on false Enable debugging output -h, --help Print usage information -V, --version Print version string [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config Usage: traffic_ctl config CMD [ARGS ...] Subcommands: describe Show detailed information about configuration values get Get one or more configuration values match Get configuration matching a regular expression reload Request a configuration reload set Set a configuration value status Check the configuration status [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config match Usage: traffic_ctl config match [OPTIONS] REGEX [REGEX ...] Options: switch__________________type__default___description --records on false Emit output in records.config format [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config match proxy.config.ssl proxy.config.ssl.number.threads: 0 ... [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config match --records proxy.config.ssl CONFIG proxy.config.ssl.number.threads INT 0 CONFIG proxy.config.ssl.client.verify.server INT 0 ... [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config get proxy.config.ssl.enabled proxy.config.ssl.session_cache proxy.config.ssl.enabled: 0 proxy.config.ssl.session_cache: 2 [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config set proxy.config.dns.resolv_conf /my/great/resolv.conf set proxy.config.dns.resolv_conf, restart required [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl config status Apache Traffic Server - traffic_server - 5.3.0 - (build # 020509 on Feb 5 2015 at 09:19:53) Started at Thu Feb 5 09:26:31 2015 Last reconfiguration at Thu Feb 5 09:26:30 2015 Configuration is current traffic_server requires restarting