Skip to content

jsmartin/ansible-graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphite

This role installs and configures graphite.

Requirements

This role also installs and configures mysql server for graphite's data store because I've found the default database (SQLite) unreliable.

Once the role is complete, you can login to Graphite's web UI with username: admin, password: admin.

Role Variables

defaults/main.yml

Name Default Value Description
graphite_log_rendering_performance no logs rendering performance
graphite_log_cache_performance no logs cache performance
graphite_log_metric_access no log metric access
graphite_timezone UTC timezone for graphite

vars/[Debian, RedHat].yml

Name Description
apache_service name of apache service
carbon_local_data_dir carbon's data dir
packages package dependencies for graphite
carbon_service name of carbon service
carbon_storage_dir carbon storage directory
carbon_user the owner of the carbon process
graphite_conf graphite configuration directory
graphite_content_dir where graphite static content is stored
graphite_index_file path to graphtie's index file
graphite_log_dir path to graphite's logs
graphite_python path to graphite's python library
graphite_storage_dir path to graphite's storage dir
graphite_user username of account running graphite
graphite_var path to graphite's var directory
graphite_whishper_dir path to graphite's whisper dir

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: graphite
  roles:
     - { role: jmartin.graphite }

License

Apache

Author Information

James Martin [email protected]

About

Ansible Role for Graphite.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published