cookbook 'bleemeo', '= 0.4.0'
bleemeo (7) Versions 0.4.0 Follow0
Installs/Configures bleemeo-agent
cookbook 'bleemeo', '= 0.4.0', :supermarket
knife supermarket install bleemeo
knife supermarket download bleemeo
Bleemeo-cookbook
About
Bleemeo is a Cloud based monitoring solution. This cookbook deploys the agent
on servers you want to monitor. Free trial is available at https://bleemeo.com/trial
This cookboot is a community contribution and is not officially supported.
Install Bleemeo agent using repositories.
Supported Platforms
- Ubuntu 16.04
- Debian 8
- Centos 7.3
- Fedora 24
Attributes
account (uuid v4)
node['bleemeo']['account']
ID of the account to connect node to.
key (uuid v4)
node['bleemeo']['key']
Registration key to allow node to register.
auto-upgrade (boolean)
node['bleemeo']['auto-upgrade']
Define version strategy, will upgrade automatically if true or stick to the same
version.
default to false
tags (Array)
node['bleemeo']['tags']
List of tags for the agent. Your agent will be tagged with those tags on Bleemeo Cloud Platform.
Only create associated configuration file if bleemeo::configure
is ran.
default to ['chef-client']
Usage
Include bleemeo
in your node's run_list
:
{ "run_list": [ "recipe[bleemeo::default]" ], "normal": { "bleemeo": { "account": "YOUR_ACCOUNT_ID", "key": "YOUR_REGISTRATION_KEY" } }, }
Recipes
bleemeo::default / bleemeo::install
Install and configure Bleemeo agent from repositories
bleemeo::repositories
Install Bleemeo agent's repositories, included in bleemeo::install
.
bleemeo::configure
Create default Bleemeo agent's configuration folder and files, included in bleemeo::install
.
Resources
bleemeo_tcp_check
Define a tcp custom check
bleemeo_tcp_check 'name' do id String # defaults to 'name' if not specified port Integer # required address String # default to 127.0.0.1 end
bleemeo_http_check
Define a http(s) custom check
bleemeo_http_check 'name' do id String # defaults to 'name' if not specified tls TrueClass, FalseClass # default to false port Integer # required address String # default to 127.0.0.1 path String # default to / status_code Integer end
bleemeo_nagios_check
Define a nagios custom check
bleemeo_nagios_check 'name' do id String # defaults to 'name' if not specified command String # required end
Tests
Require vagrant and virtualbox.
Install gems (bershshelf, test-kitchen, kitchen-vagrant) : bundler install
Run tests : kitchen test
License (MIT)
Copyright 2017 Matlo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.4.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.4.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.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: bleemeo/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.4.0 passed this metric
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.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.4.0 passed this metric
0.4.0 failed this metric
0.4.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.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: bleemeo/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.4.0 passed this metric
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.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.4.0 passed this metric
0.4.0 failed this metric
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.4.0 passed this metric
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.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.4.0 passed this metric
0.4.0 passed this metric
0.4.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.4.0 passed this metric
0.4.0 passed this metric