This repository has been archived by the owner on Jun 12, 2020. It is now read-only.
forked from echocat/puppet-graphite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
61 lines (42 loc) · 1.35 KB
/
README
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
# Module graphite
This module installs and makes basic configs for graphite, with carbon and whisper.
# Tested on
RHEL/CentOS/Scientific 6+
Debian 6+
Ubunutu 10.04 and newer
# Requirements:
Configure conf files as you need:
Only if you want to use carbon-link clusters or ldap you should edit:
templates/opt/graphite/webapp/graphite/local_settings.py.erb
### Modules needed:
stdlib by puppetlabs
### Software versions needed:
facter > 1.6.2
puppet > 2.6.2
On Redhat distributions you need the EPEL or RPMforge repository, because Graphite needs packages, which are not part of the default repos.
# Sample usage:
### Out of the box graphite installation
node "graphite.my.domain" {
include graphite
}
### Tuned graphite installation
# This carbon cache will accept TCP and UDP datas and
# the cachesize is limited to 256mb
node "graphite.my.domain" {
class {'graphite':
gr_max_cache_size => 256,
gr_enable_udp_listener => True
}
}
## Optional
### Move Apache to alternative ports:
The default puppet set up won't work if you have an existing web server in
place. In my case this was Nginx. For me moving apache off to another port was
good enough. To allow this you do
# Move apache to alternate HTTP/HTTPS ports:
node "graphite.my.domain" {
class {'graphite':
gr_apache_port => 2080,
gr_apache_port_https => 2443,
}
}