virtusize/copperegg_agent — pull request #5 by hostmaster (2014-09-17 10:39:40+00:00)
Title: Feature/nginx agent

* get `upstream_response_time` from nginx access log file
* backend [access log adjustment](https://gist.github.com/hostmaster/11b921d3529310c2c1d4) is required
* GNU `tail` is [required](https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html#index-g_t_002dF-358)

Usage:

tail -F /var/log/nginx/backend.access.log | nginx_agent.py --key API_KEY --host webapp-01 --prefix production --verbose

Runs on w01 within 2 days without problems.

@jtsoi @vs-ab have a look please.