Skip to content

Hearst-DD/ansible-newrelic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-newrelic

This ansible role installs and configures the New Relic Server Agent (System Monitor Daemon)

This Repo

This repo is a fork from https://github.com/sivel/ansible-newrelic. It's no longer exist on github, we I pushed it again here!

Requirements

This role requires Ansible 1.4 higher and platforms listed in the metadata file.

Role Variables

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:secret@proxy.mydomain.com: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

Examples

Paramaterized Role

---
- hosts: all
  roles:
    - { role: newrelic, newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16 }

Vars

---
- hosts: all
  vars:
    newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
  roles:
    - newrelic

Group vars

group_vars/production

---
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16

site.yml

---
- hosts: all
  roles:
    - newrelic

About

This project is fork from sivel/ansible-newrelic .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published