Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

UltimatePancake/ansible-newrelic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-newrelic

New Relic Server, APM, Nginx and MySQL Monitor Ansible role

---USAGE

Playbook

- hosts: yourhost
  roles:
    - newrelic

group/host vars

# License key
nr_license: 'YOUR_LICENSE_KEY'
# Set the ones you want as 'true', they are all set 'false' by default
monitor_server: true
monitor_apm: true
monitor_nginx: true
monitor_mysql: true

---NOTES

Remember to add -javaagent: /opt/newrelic/newrelic.jar to your JVM startup environment variables.

e.g.: For Tomcat, edit the bin/setenv.sh file and add the above javaagent option to the CATALINA_OPTS variable:

  export CATALINA_OPTS="${CATALINA_OPTS} -javaagent: /opt/newrelic/newrelic.jar"

About

New Relic Server, APM, Nginx and MySQL Monitor Ansible role

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published