Skip to content

modcloth/ansible-role-modcloth-newrelic-haproxy-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modcloth.newrelic_haproxy_agent

This role installs and configures the Railsware New Relic HAProxy plugin.

Requirements

Requires ruby to be installed.

Role Variables

newrelic_haproxy_agent_config_template: # template for config (default template is provided)

# variables for default config
new_relic_license_key: # NewRelic license key
newrelic_haproxy_agent_verbose: # 1 for verbose output from the plugin (0 otherwise)
newrelic_haproxy_agent_repository: # gem repository to pull from

# list of HAProxy instances to monitor
newrelic_haproxy_agent_agents: []
# each value should be a dictionary with the following values:
# name (required): Name to send to NewRelic
# uri (required): URI to query for CSV HAProxy statistics
# proxy (required): Proxy instance to monitor
# proxy_type (optional): Proxy type (frontend, backend, or listen) if multiple proxies have the same name
# user(optional): User to use for HTTP Basic Auth
# password(optional): Password to use for HTTP Basic Auth

Dependencies

None.

Example Playbook

---
- hosts: all
  roles:
  - role: modcloth.newrelic_haproxy_agent
    new_relic_license_key: "ABCD"
    newrelic_haproxy_agent_agents:
    - name: 'Foo'
      uri: 'www.example.com/stats;#csv'
      proxy: 'abcd'
      proxy_type: 'frontend'

License

MIT

Author Information

ModCloth, Inc.

About

Ansible role that installs and configures newrelic_haproxy_agent plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published