Installs/Configures riemann, riemann-dash and rienann-tools
- ubuntu
- debian
- centos
- java
- apt
- yum
- ark
- runit
- build-essential
node['riemann']['download']['url']
- Defaults tohttp://aphyr.com/riemann/
.node['riemann']['download']['checksum']
- Defaults toec697519e80781dc478983de04204760f2790da1715acfd233b35da071be5455
.node['riemann']['download']['version']
- Defaults to0.2.10
.node['riemann']['config']['bind']
- Defaults to0.0.0.0
.node['riemann']['config']['port']
- Defaults to5555
.node['riemann']['config']['ws-port']
- Defaults to5556
.node['riemann']['config']['userfile']
- Defaults to/usr/local/riemann/etc/user.config
.node['riemann']['system']['user']
- Defaults toriemann
.node['riemann']['system']['group']
- Defaults toriemann
.node['riemann']['system']['home_dir']
- Defaults to/usr/local/riemann
.node['java']['jdk_version']
- Defaults to8
.node['java']['install_flavor']
- Defaults tooracle
.node['java']['oracle']['accept_oracle_download_terms']
- Defaults totrue
.node['riemann']['server']['ip']
- Defaults to ``.node['riemann']['server']['ip']
- Defaults to ``.node['riemann']['server']['port']
- Defaults to ``.
- riemann2::infra - creating user and group, included in the
server
anddash
recipes - riemann2::server - installs riemann server, setting 2 config files => default ( riemann.conf ) and user.conf, for custumisations
- riemann2::dash - install
riemann-dash
withconfig.rb
andconfig.json
from templates - riemann2::tools - installs
riemann-tools
Configure user and group for riemann-servie and riemann-dash
Installs riemann-server
with /usr/local/riemann/etc/user.config
for manual changes to rieman-server.
TODO:
- add temlate
riemann-chef.config
to include configuration from the cookbook.
Installs riemann-dash
with config.rb
and config.json
TODO:
- add dynamic variables to the config files
Installs riemann-tools
.
Using the chef ruby
- riemann2_check - This creates and destroy the riemann-health service.
This creates and destroy the riemann-health service.
- [:create]: Default action.
- create: Create the
riemann-health
service. - destroy: Destroy the
riemann-health
service. - nothing:
- restart:
- check_name:
- server: Defaults to
"localhost"
. - port: Defaults to
"5555"
. - tags:
# riemann-health
riemann2::check "health" do
action :create
server node['riemann']['server']['ip']
port '5555'
end
Maintainer:: Alex Shadrin. ([email protected]) Source:: https://github.com/alexshd/chef-riemann2.git
License:: Apache 2.0