Installs and configures Graphite. Much of the work in this cookbook reflects work done by Heavy Water Software and Infochimps.
- Ubuntu 11.10 (Oneiric)
- Ubuntu 12.04 (Precise)
- apache2
- logrotate
- python
node["graphite"]["version"]
- Version of Graphite to install.node["graphite"]["user"]
- User for Graphite and its components.node["graphite"]["group"]
- Group for Graphite and its components.node["graphite"]["carbon"]["line_receiver_interface"]
- IP for the line receiver to bind to.node["graphite"]["carbon"]["pickle_receiver_interface"]
- IP for the pickle receiver to bind to.node["graphite"]["carbon"]["cache_query_interface"]
- IP for the query cache to bind to.node["graphite"]["dashboard"]["timezone"]
- Default dashboard timezone.node["graphite"]["dashboard"]["memcache_hosts"]
- Array of IP and port pairs for memcached.node["graphite"]["templates"]
- Additional template defintions
default["graphite"]["templates"]["default"]["background"]
= "black"default["graphite"]["templates"]["default"]["foreground"]
= "white"default["graphite"]["templates"]["default"]["majorLine"]
= "white"default["graphite"]["templates"]["default"]["minorLine"]
= "grey"default["graphite"]["templates"]["default"]["lineColors"]
= "blue,green,red,purple,brown,yellow,aqua,grey,magenta,pink,gold,rose"default["graphite"]["templates"]["default"]["fontName"]
= "Sans"default["graphite"]["templates"]["default"]["fontSize"]
= "10"default["graphite"]["templates"]["default"]["fontBold"]
= "False"default["graphite"]["templates"]["default"]["fontItalic"]
= "False"
recipe[graphite]
will install Graphite and all of its components.recipe[graphite::carbon]
will install Carbon.recipe[graphite::dashboard]
will install Graphite's dashboard.recipe[graphite::whisper]
will install Whisper.
Graphite's credentials default to username root
and password root
with an
e-mail address going no where. Also, two schemas are provided by default:
stats.*
for StatsD and a catchall that
matches anything.