Grafana
Grafana is an open source metric visualizer. In our setup it feeds on a graphite-carbon instance, which itself can be fed simply: echo “test.bash.stats 42 `date +%s`” | nc graphite.example.com 2003
Installation & Config
- dpkg -i grafana_3.1.1-1470047149_amd64.deb
- sudo apt-get install graphite-carbon
- sudo apt-get install graphite-web
- sudo graphite-manage syncdb
- sudo nano /etc/graphite/local_settings.py
- sudo cp /usr/share/graphite-web/apache2-graphite.conf /etc/apache2/sites-available/dddddd.bitmorse.com.conf
- sudo nano /etc/apache2/sites-available/dddddd.bitmorse.com.conf
- now change the grafana admin password!
- http://...grafana… and add data source: graphite, ddddd, proxy
- Graphite is built on fixed-size databases (see Whisper.) so we have to configure in advance how much data we intend to store and at what level of precision.
- Do this in: /etc/carbon/storage-schemas.conf