Formula to set up and configure graphite servers on Debian systems
Note
See the full Salt Formulas installation and usage instructions.
Installs the carbon-cache and carbon-aggregator daemons, with all dependencies.
- started via upstart
- memcached listening on standard local ports
- carbon-cache listening on standard ports
- carbon-aggregator listening on standard ports
- configured for FHS conventions (mostly)
Further customization is available via pillars.
Installs the graphite web application.
- started via upstart
- uwsgi running the django application listening on
/var/run/graphite/socket
- nginx config files ready for inclusion
- logs to
/var/log/graphite
- uses memcached
Further customization is available via pillars.
Installs nginx server to serve the graphite website. Very minimal
configuration mostly indented of testing. I recommend managing NOT
using this state and including the nginx config files created by
graphite.uwsgi
- the upstart scripts for the
carbon-*
daemons are a bad hack. The carbon daemons perform their own daemonization, and this does not play nicely with upstart. You can set some unrelated flags to get carbon daemons to NOT daemonize, but then they don't log. To get proper logging, we let the carbon daemons daemonize themselves, and manage them in upstart viapre-start
andpre-stop
hooks