cookbook 'logio', '~> 0.1.0'
logio (1) Versions 0.1.0 Follow0
Installs/Configures logio
cookbook 'logio', '~> 0.1.0', :supermarket
knife supermarket install logio
knife supermarket download logio
Description
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 to28_777
-
node['logio']['client']['remote_host']
- Defaults to'localhost'
-
node['logio']['client']['remote_port']
- Defaults to28_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 to28_778
-
node['logio']['web_server']['username']
- Defaults tonil
-
node['logio']['web_server']['password']
- Defaults tonil
-
node['logio']['web_server']['ssl_pkey']
- Defaults tonil
-
node['logio']['web_server']['ssl_cert']
- Defaults tonil
-
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)
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
0.1.0 failed this 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
0.1.0 passed this 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
0.1.0 failed this 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