svenagnew / stageone

A collectd/graphite based system monitoring framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MonitorOne

A Graphite-, CollectD-, StatsD- based monitoring system framework for deployed applications and infrastructure.

NB. YOU MUST graphite-manage syncdb everytime you upload the local_settings.py file. Failure to do so will BREAK Django/Graphite

Terraform

From the terraform sub-directory of this project you can instantiate a StageOne infrastructure with:

~:$ terraform apply

Ansible

From within the ansible sub-directory of this project you may install all required roles with:

~:$ ansible-galaxy install -r requirements.yml

Serverspec

Test that a host in the system is provisioned as expected:

~:$ bundle exec rake spec:monitor1.ubxd.io

TODO:

1.) Track time of deploys, and overlay onto graphs for Cluster Dashboard. See https://codeascraft.com/2010/12/08/track-every-release/


FOOTNOTES:

1. Graphite Manage Syncdb

Right now, the automation is incomplete due to the requirement for performing graphite-manage syncdb interactively. syncdb is effectively the Django utility for providing Schema management a la Rails' "migrations".

This can be automated, by seeding the action with a JSON file, and calling it with the --no-input flag.

2. Graphite Paths
  • /usr/lib/python2.7/dist-packages/graphite
  • /etc/graphite
  • /var/lib/graphite
  • /var/log/graphite
3. Hadoop Metrics
4. Kibana

Your Kibana instance can be accessed at http://elk1.ubxd.io/ Your Kibana HTTP AUTH BASIC login credentials are available in the vault.

About

A collectd/graphite based system monitoring framework


Languages

Language:Ruby 54.9%Language:Shell 38.4%Language:HCL 4.2%Language:Io 2.5%