This ansible role installs and configures the New Relic Server Agent (System Monitor Daemon). This was formerly owned by sivel
. This is a cached copy.
This role requires Ansible 1.4 higher and platforms listed in the metadata file.
The variables that can be passed to this role and a brief description about them are as follows
# License key
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
# Log level (error, warning, info, verbose, debug, verbosedebug)
newrelic_loglevel: info
# Log file location
newrelic_logfile: /var/log/newrelic/nrsysmond.log
# Proxy server. Default False
newrelic_proxy: fred:[email protected]:8181
# Use SSL for all communication. Default False
newrelic_ssl: "true"
# SSL CA Bundle path. Default False
newrelic_ssl_ca_bundle: /etc/pki/tls/certs/ca-bundle.crt
# SSL CA Path. Default False
newrelic_ssl_ca_path: /etc/ssl/certs
# Pid file locaiton
newrelic_pidfile: /var/run/newrelic/nrsysmond.pid
# Collector hostname
newrelic_collector_host: collector.newrelic.com
# Connection timeout for collector host
newrelic_timeout: 30
---
- hosts: all
roles:
- { role: newrelic, newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16 }
---
- hosts: all
vars:
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
roles:
- newrelic
---
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
---
- hosts: all
roles:
- newrelic