Skip to content

Latest commit

 

History

History
104 lines (48 loc) · 1.64 KB

README.rst

File metadata and controls

104 lines (48 loc) · 1.64 KB

Monitoring-Integration

Installation Details

The following steps outline the procedure to install monitoring-integration component.

Note :

All the commands mentioned below are run as a regular user that has sudo privileges.
  1. Installing Monitoring-Integration

    Note

    Make sure tendrl repositories are enabled. https://github.com/Tendrl/documentation/wiki/Tendrl-Package-Installation-Reference

    $ yum install tendrl-monitoring-integration
    
  2. Configure Graphite

    $ /usr/lib/python2.7/site-packages/graphite/manage.py syncdb
      --noinput chown apache:apache /var/lib/graphite-web/graphite.db
    
  3. Start/Restart server to load new configurations

  • Enable and start carbon-cache service

    $ systemctl enable carbon-cache
    $ systemctl start carbon-cache
    
  • Start grafana server

    $ systemctl daemon-reload
    $ systemctl enable grafana-server.service
    $ systemctl start grafana-server
    
  • Restart httpd

    $ systemctl restart httpd
    
  1. Configuring Monitoring-Integration
  • Open monitoring-integration.conf.yaml:

    $ vi /etc/tendrl/monitoring-integration/monitoring-integration.conf.yaml
    
  • Update datasource_host with IP of the server:

    datasource_host = <IP of the server>
    

    Note :

    Do not provide localost or 127.0.0.1.

  1. Running Monitoring-Integration
  • Run monitoring-integration

    $ tendrl-monitoring-integration
    
  1. Open Grafana
  • Open the following URL in the browser

    http://<IP of the server>:3000