Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
eaebc113
Commit
eaebc113
authored
Feb 21, 2014
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs
parent
c5dc1cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
playbooks/roles/newrelic/tasks/main.yml
+14
-8
No files found.
playbooks/roles/newrelic/tasks/main.yml
View file @
eaebc113
...
@@ -7,20 +7,23 @@
...
@@ -7,20 +7,23 @@
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
#
# Tasks for role newrelic
# Tasks for role newrelic
#
#
# Overview:
# Overview:
#
#
# Installs and configures the newrelic system monitoring agent
# Installs and configures the newrelic system monitoring agent. The server
#
# will be identified in Newrelic by hostname and this cannot be changed
# Dependencies:
# in configuration. Also configuratin does not allow hosts to be
# associated with an application or tagged.
#
#
#
# Example play:
# Example play:
#
#
#
# - name: Install Newrelic system agent
# hosts: all
# sudo: True
# gather_facts: True
# roles:
# - newrelic
-
name
:
add apt key
-
name
:
add apt key
apt_key
:
id=548C16BF url={{COMMON_NEWRELIC_KEY_URL }} state=present
apt_key
:
id=548C16BF url={{COMMON_NEWRELIC_KEY_URL }} state=present
...
@@ -32,7 +35,9 @@
...
@@ -32,7 +35,9 @@
apt
:
pkg="newrelic-sysmond"
apt
:
pkg="newrelic-sysmond"
-
name
:
configure the agent with the license key
-
name
:
configure the agent with the license key
shell
:
nrsysmond-config --set license_key={{ COMMON_NEWRELIC_LICENSE_KEY }} ssl=true
shell
:
>
nrsysmond-config --set license_key={{ COMMON_NEWRELIC_LICENSE_KEY }}
ssl=true
-
name
:
start the newrelic system agent
-
name
:
start the newrelic system agent
shell
:
/etc/init.d/newrelic-sysmond start
shell
:
/etc/init.d/newrelic-sysmond start
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment