No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grafana
LICENSE
README.md
ansible.cfg
host.key
inventory

README.md

Ansible Automation for alpha using Ansible

Description


It's for automated server configuration and monitoring system for alpha using Ansible. Currently works for adding monitoring system over it using carbon, graphite, collectd and grafana which is served over SSL managed by Let's Encrypt with auto renewable cron.

File Tree


├── ansible.cfg                 # contains ansible configurations at lowest level
├── inventory                   # contains information on blocks of server
├── host.key                    # key to be used for host server
├── README.md
└── grafana                 	# playbook for downloading, installing, configuring monitoring system
    ├── defaults                # global variables dir
    │   └── main.yml
    ├── handlers                # global callbacks
    │   └── main.yml
    ├── install_monitoring.yml
    ├── tasks                   # various tasks to be performed
    │   ├── carbon.yml
    │   ├── cleanup.yml
    │   ├── collectd.yml
    │   ├── configure.yml
    │   ├── database.yml
    │   ├── essentials.yml
    │   ├── fetch_graphite.yml
    │   ├── grafana.yml
    │   ├── graphite.yml
    │   ├── letsencrypt_montoring.yml
    │   ├── letsencrypt.yml
    │   ├── monitoring.yml
    │   ├── virtualenv_graphite.yml
    │   └── whisper.yml
    ├── templates               # global templates for copying to various servers for config/install using Jinja2 templating
    │   ├── grafana_4.2.0_armhf.deb
    │   ├── graphite            # config for monitoring
    │   │   ├── carbon-cache
    │   │   ├── conf
    │   │   │   ├── carbon.conf
    │   │   │   ├── gunicorn_monitoring
    │   │   │   ├── nginx.conf
    │   │   │   ├── storage-aggregation.conf
    │   │   │   ├── storage-schemas.conf
    │   │   │   └── supervisor.conf
    │   │   └── webapp
    │   │       ├── graphite.wsgi
    │   │       └── local_settings.py

Usage


Running cli commands to particular blocks

ansible <block_name> -m <command> -a <args>

Installing web monitoring system on production server with SSL

ansible-playbook grafana/install_monitoring.yml

References