How to do it...

Follow these steps to install, configure, and start Graphite on the dedicated monitoring server:

  1. Prepare the environment with this export:
        export PYTHONPATH="/opt/graphite/lib/:/opt/graphite/webapp/"
  1. Install the data storage engine with this command:
        sudo -H pip install \
        https://github.com/graphite-project/whisper/tarball/master
  1. Install the data-caching daemon with this command:
        sudo -H pip install \
        https://github.com/graphite-project/carbon/tarball/master
  1. Install the web-based visualization frontend with this command:
        sudo -H pip install \
        https://github.com/graphite-project/graphite-
        web/tarball/master
  1. Create a new file named local_settings.py in the /opt/graphite/webapp/graphite/ directory with these ...

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.