Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

logio (1) Versions 0.1.0

Installs/Configures logio

Policyfile
Berkshelf
Knife
cookbook 'logio', '~> 0.1.0', :supermarket
cookbook 'logio', '~> 0.1.0'
knife supermarket install logio
knife supermarket download logio
README
Dependencies
Changelog
Quality 33%

Description

Code Climate
Build Status

Cookbook logio lets you install and configure Log.io, a real-time log monitoring tool.

Requirements

Platform:

  • Debian
  • Ubuntu
  • CentOS

Cookbooks:

No dependencies defined, but before using this cookbook you should run the default recipe of the build-essential cookbook.

Attributes

  • node['logio']['nvm_version'] - Defaults to '0.26.0'
  • node['logio']['nvm_installer'] - Defaults to https://raw.githubusercontent.com/creationix/nvm/v0.26.0/install.sh
  • node['logio']['username'] - Defaults to 'logio'
  • node['logio']['server']['listen_ip'] - Defaults to '0.0.0.0'
  • node['logio']['server']['listen_port'] - Defaults to 28_777
  • node['logio']['client']['remote_host'] - Defaults to 'localhost'
  • node['logio']['client']['remote_port'] - Defaults to 28_777
  • node['logio']['client']['node_name'] - Defaults to 'localhost'
  • node['logio']['web_server']['listen_host'] - Defaults to '0.0.0.0'
  • node['logio']['web_server']['listen_port'] - Defaults to 28_778
  • node['logio']['web_server']['username'] - Defaults to nil
  • node['logio']['web_server']['password'] - Defaults to nil
  • node['logio']['web_server']['ssl_pkey'] - Defaults to nil
  • node['logio']['web_server']['ssl_cert'] - Defaults to nil
  • node['logio']['web_server']['restrict_socket'] - Defaults to '*:*'
  • node['logio']['web_server']['restrict_http'] - Defaults to []

Recipes

This is a LWRP-only cookbook, it means that you should write a wrapper-cookbook in order to use it.

LWRP

Let's say you want to monitor your Apache logs, all you have to do is add your access.log and error.log files:

logio_harvest 'apache_access' do
  stream_name 'apache'
  log_file '/var/log/apache2/access.log'
end
logio_harvest 'apache_error' do
  stream_name 'apache'
  log_file '/var/log/apache2/error.log'
end

Enable the Log.io server (log.io-server)

logio 'server'

Enable the Log.io harvester (log.io-harvester)

logio 'harvester'

See fixture cookbook in tests/fixtures/cookbooks.

If you need additional help making this work, please read this post.

Author

Author & Maintainer:: Mauricio Araya V. (hello@mauricioaraya.net)

License

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of logio

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number