All Projects → gingerlime → Graphite Fabric

gingerlime / Graphite Fabric

fabric-graphite is a fabric script to install Graphite and all dependencies on a debian-based host (with optional vagrant support)

Labels

Projects that are alternatives of or similar to Graphite Fabric

Docker Django
A project to get you started with Docker and Django.
Stars: ✭ 170 (-6.08%)
Mutual labels:  nginx
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (-3.87%)
Mutual labels:  nginx
Nginx Proxy Automation
Automated docker nginx proxy integrated with letsencrypt.
Stars: ✭ 2,302 (+1171.82%)
Mutual labels:  nginx
Nginx Admins Handbook
How to improve NGINX performance, security, and other important things.
Stars: ✭ 12,463 (+6785.64%)
Mutual labels:  nginx
Lhttps
Create https for local development environment or localhost.
Stars: ✭ 172 (-4.97%)
Mutual labels:  nginx
Smtpd
A Lightweight High Performance ESMTP email server
Stars: ✭ 175 (-3.31%)
Mutual labels:  nginx
Lyonblog
基于Java8的SSM+Elasticsearch全文检索的个人博客系统
Stars: ✭ 169 (-6.63%)
Mutual labels:  nginx
Ansible Nginx Hardening
This Ansible role provides secure nginx configurations.
Stars: ✭ 180 (-0.55%)
Mutual labels:  nginx
Pwnginx
Pwn nginx - a nginx backdoor provides shell access, socks5 tunneling, http password sniffing.
Stars: ✭ 173 (-4.42%)
Mutual labels:  nginx
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+1304.97%)
Mutual labels:  nginx
Htconvert
Convert .htaccess redirects to nginx.conf redirects
Stars: ✭ 171 (-5.52%)
Mutual labels:  nginx
Nginx Ct
Certificate Transparency module for nginx.
Stars: ✭ 171 (-5.52%)
Mutual labels:  nginx
Docker Elastic Stack
ELK Stack Dockerfile
Stars: ✭ 175 (-3.31%)
Mutual labels:  nginx
Nginx Helper
Nginx Helper for WordPress caching, permalinks & efficient file handling in multisite
Stars: ✭ 170 (-6.08%)
Mutual labels:  nginx
Mod zip
Streaming ZIP archiver for nginx 📦
Stars: ✭ 178 (-1.66%)
Mutual labels:  nginx
Bunkerized Nginx
🛡️ Make your web services secure by default !
Stars: ✭ 2,361 (+1204.42%)
Mutual labels:  nginx
Sinn
a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
Stars: ✭ 175 (-3.31%)
Mutual labels:  nginx
Docker Waf
An NGINX and ModSecurity based Web Application Firewall for Docker
Stars: ✭ 181 (+0%)
Mutual labels:  nginx
Seconds Kill
基于 Springboot + Redis + Kafka 的秒杀系统,乐观锁 + 缓存 + 限流 + 异步,TPS 从 500 优化到 3000
Stars: ✭ 180 (-0.55%)
Mutual labels:  nginx
Badssl.com
🔒 Memorable site for testing clients against bad SSL configs.
Stars: ✭ 2,234 (+1134.25%)
Mutual labels:  nginx

Graphite-Fabric - a fabric installer for Graphite

fabric-graphite is a fabric script to install Graphite, Nginx, uwsgi and all dependencies on a debian-based host.

Why?

I was reading a few interesting posts about graphite. When I tried to install it however, I couldn't find anything that really covered all the steps. Some covered it well for Apache, others covered Nginx, but had steps missing or assumed the reader knows about them etc.

I'm a big fan of fabric, and try to do all deployments and installations using it. This way I can re-run the process, and also better document what needs to be done. So instead of writing another guide, I created this fabric script.

Requirements

  • Workstation running python (version 2.7 recommended). All platforms should be supported.
  • Fabric - can be installed via pip install fabric or easy_install fabric
  • a new VPS/Dedicated server running a Debian-based distribution (Debian, Ubuntu etc) - or
  • Virtualbox with Vagrant (see below)

Target Host

Best to execute this on a clean virtual machine running Debian 6 (Squeeze). Also tested successfully on Ubuntu 12.04 VPS.

Installation Instructions

run fab graphite_install -H [email protected]{hostname} (hostname should be the name of a virtual server you're installing onto)

It might prompt you for the root password on the host you are trying to instal onto.

You can use it with a user other than root, as long as this user can sudo.

During the installation, you would be asked to set up the django superuser account. You might want to create an account, but it's not strictly necessary. If you answer no, the installation will still work fine.

Vagrant

you can now install graphite using vagrant on your local virutalbox. If you have vagrant installed, simply use

$ pip install fabtools
$ vagrant up
...
$ fab vagrant graphite_install

Once installed, you can access your graphite server on http://localhost:8080/graphite

Giraffe Dashboard

Giraffe is also included and installed. It is installed under /opt/graphite/webapp/giraffe and is accessible on http://your-graphite-url/giraffe/.

OPTIONAL: Install statsd.

After installing graphite, run fab statsd_install -H [email protected]{hostname}

statsd is a powerful, Node.js tool for aggregating data sent over UDP, which means it is fairly robust and allows for heaping large amounts of data into your stat backend (graphite) without fear of downtime or failures.

After Installation

Simply open your browser and go to http://[your-hostname]/graphite/ ! It should be up and running.

Of course there's a lot more configuration to be done, but at the very least you should have a working environment to play with Graphite.

Security

The scripts are meant to be used as a starting point for experimenting and trying out graphite and statsd, but they are by no means 'production-ready'. Further configuration would be required. This is of particular concern when considering security. The installed host(s) will have open ports listening, and access to the graphite web console is without any authentication.

Thanks

Contributors

Thanks to the authors of these online guides and resources who provided very useful information that I stitched together into this fabric script, and others who provided inspiration about Graphite in General:

Although not installed with this fabric script, I'd love to try these some time:

DISCLAIMER

Please try this at your own risk. Please run this only with a newly installed host that you can easily throw away! I tested it with both Debian 6 and Ubuntu 12.04 successfully. However, you may experience different results.

Help and Contribution

I'd be happy to try to help if I can, but given the complexity of linux-based operating-systems, and my limited time, I might not be able to know why a certain operation fails or an error is generated. Feel free to fork for your own special requirements or needs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].