-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.sh
executable file
·65 lines (60 loc) · 1.19 KB
/
configuration.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh
mkdir config 2> /dev/null
echo "# Please make sure to update the license_key information with the license key for your New Relic
# account.
#
#
newrelic:
#
# Update with your New Relic account license key:
#
license_key: '$1'
#
# Set to '1' for verbose output, remove for normal output.
# All output goes to stdout/stderr.
#
# verbose: 1
# Proxy configuration:
#proxy:
# address: localhost
# port: 8080
# user: nil
# password: nil
#
# Agent Configuration:
#
agents:
# this is where configuration for agents belongs
redborder:
snmp_host: \"127.0.0.1\"
snmp_community: \"redBorder\"
services:
- chef-client
- druid_coordinator
- druid_historical
- druid_broker
- druid_overlord
- kafka
- zookeeper
- rb-webui
- rb-workers
- erchef
- chef-solr
- chef-expander
- rabbitmq
- postgresql
- nginx
- riak-cs
- riak
- hadoop_resourcemanager
- rb-monitor
- nprobe
- memcached
- rb-sociald
- rb-discover
- rb-snmp
" > config/newrelic_plugin.yml
if [[ $? ]]; then
bundle install
cp rb_nr_agent /etc/rc.d/init.d/
fi