Skip to content

vikkyomkar/chef-grafana

 
 

Repository files navigation

chef-grafana

Build Status

This cookbook installs and configures Grafana, a dashboard application for graphite and influxdb.

Requirements

Platforms

  • Debian/Ubuntu
  • Redhat/CentOS

Chef

  • Chef 12.1+

Cookbooks

  • apt
  • yum

Recipes

The default recipe will install the latest stable Grafana from the official packagecloud repository, configure grafana.ini, and start the service.

To install the latest unstable release, set:

node['chef-grafana']['install']['channel'] = 'testing'

To install a specific Grafana version, set:

node['chef-grafana']['install']['version'] = '4.5.0'

Other recipes:

  • grafana::install - this installs grafana and starts the service, but doesn't perform any configuration of grafana.ini.
  • grafana::configure - this configures grafana.ini.

Configuration

All grafana.ini configuration is provided through attributes. Set node['chef-grafana']['config']['section']['config'] to set the appropriate values. For example, if you want to enable anonymous authentication, you can set node['chef-grafana']['config']['auth.anonymous']['enabled'] to true.

License & Authors

Author: Mark Harrison (mharrison@chef.io)

Copyright: 2008-2017, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Chef cookbook for installing Grafana

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.8%
  • HTML 1.2%