Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saltstack-formulas/graphite-formula
https://github.com/saltstack-formulas/graphite-formula
graphite python saltstack
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/saltstack-formulas/graphite-formula
- Owner: saltstack-formulas
- License: other
- Created: 2014-01-31T14:46:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T20:50:49.000Z (almost 6 years ago)
- Last Synced: 2024-09-30T13:38:28.388Z (4 months ago)
- Topics: graphite, python, saltstack
- Language: SaltStack
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 55.7 KB
- Stars: 15
- Watchers: 43
- Forks: 41
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
========
graphite
========Formula to set up and configure graphite servers on Debian and RedHat systems
Set `monitor_master` role grain on the minion you want graphite installed on:
salt 'graphitemaster' grains.append roles monitor_master
.. note::
See the full `Salt Formulas installation and usage instructions
`_.Starting Service
================Setup database if not already done ::
python /opt/graphite/webapp/graphite/manage.py syncdb
Start graphite ::
/opt/graphite/bin/run-graphite-devel-server.py /opt/graphite &
Generating a new password
==========================Uses the `Passlib library `_ ::
pip install passlib
Then make::python -c "from passlib.hash import pbkdf2_sha256; import getpass, pwd; print pbkdf2_sha256.encrypt(getpass.getpass())"
Password: [ENTER YOUR PASSWORD HERE]Available states
================.. contents::
:local:``graphite``
------------Installs all dependencies and the graphite packages themselves, sets up a minimal system including
supervisor to run carbon and django and nginx as the proxy.``graphite.supervisor``
-----------------------Adds a basic supervisor configuration for the graphite daemons to work on top of.
The graphite state already depends on this one internally - eventually there should be a supervisor-formula.``graphite.mysqldb``
--------------------Depends on the mysql-formula's mysql.client and mysql.server, makes the graphite server use mysql
for the admin login.Please note that this is a very basic (and monolithic) formula, not necessarily intended for production use.