cookbook 'opentsdb', '= 1.0.1'
opentsdb (13) Versions 1.0.1 Follow0
Application cookbook which installs and configures OpenTSDB.
cookbook 'opentsdb', '= 1.0.1', :supermarket
knife supermarket install opentsdb
knife supermarket download opentsdb
OpenTSDB Cookbook
Application cookbook which installs and configures OpenTSDB. You will need to bring your own java cookbook to the party. I don't think its heplful for me to provide some random java cookbook from the internet. It will grab the version of the package from OpenTSDB github where they package all of the code into rpm or deb's. For RHEL it requires gnuplot so that gets installed. However please remember you must bring your own java cookbook or install method. Otherwise it will fail. Here is a quick example of installing java 8 if you need it Java 8 Install.
Usage
Supports
- Ubuntu
- CentOS
Dependencies
Name | Description |
---|---|
poise | Library cookbook built to aide in writing reusable cookbooks. |
poise-service | Library cookbook built to abstract service management. |
Attributes
The current attributes are all set with the TSDB defaults that are listed here OpenTSDB Default Options. You can see how they are used/called here [OpenTSDB Library][3]
Resources/Providers
opentsdb_instance
A default OpenTSDB instance as is easy as below
opentsdb_instance "test"
You Can tune and tweak as you please
opentsdb_instance "test" do
bind '127.0.0.1'
port 5012
core_auto_create_metrics true
search_enable true
end
As always you can also bring your own config file if you wanted to by calling the source resource. I have provided the default logback.xml file that is provided with the package.
License & Authors
- Author:: Anthony Caiafa (acaiafa1@bloomberg.net)
Copyright 2015 Bloomberg Finance L.P. 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.
Dependent cookbooks
poise ~> 2.2 |
poise-service ~> 1.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
1.0.1 failed this metric
FC013: Use file_cache_path rather than hard-coding tmp paths: /tmp/cook/d3e8c032a0da2dbe09bafecd/opentsdb/libraries/opentsdb_instance.rb:134
FC023: Prefer conditional attributes: /tmp/cook/d3e8c032a0da2dbe09bafecd/opentsdb/libraries/helpers.rb:18
1.0.1 failed this metric
FC023: Prefer conditional attributes: /tmp/cook/d3e8c032a0da2dbe09bafecd/opentsdb/libraries/helpers.rb:18