Installs and configures newrelic for server monitoring.
https://newrelic.com/docs/server/new-relic-for-server-monitoring
- Debian, Ubuntu
Tested on:
- Debian Wheezy (7.0)
node[:newrelic][:license_key]
- license key for server monitoring
node[:newrelic]["apt-key"]
- newrelic apt-keynode[:newrelic][:keyserver]
- address of key servernode[:newrelic][:config_file]
- config filenode[:newrelic][:log_path]
- path to logsnode[:newrelic][:loglevel]
- log levelnode[:newrelic][:logfile]
- log filenode[:newrelic][:proxy]
- address of proxy servernode[:newrelic][:ssl]
- turns SSL on/offnode[:newrelic][:ssl_ca_bundle]
- CA certificatenode[:newrelic][:ssl_ca_path]
- path to CA filesnode[:newrelic][:pidfile]
- pidfilenode[:newrelic][:collector_host]
- address of newrelic's collectornode[:newrelic][:timeout]
- connection timeout
Prepare role newrelic:
name "newrelic"
description %q{
Configures machine to use newrelic server monitoring.
}
run_list(
"recipe[newrelic]"
)
default_attributes(
newrelic: {license_key: "your_license_key"}
)
and add it to run list.