graphite-formula

Formula to set up and configure graphite servers on Debian systems

Note

See the full Salt Formulas installation and usage instructions.

Available states

Installs the carbon-cache and carbon-aggregator daemons, with all dependencies.

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

Known Issues

  • 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 via pre-start and pre-stop hooks