Skip to content

Latest commit

 

History

History
executable file
·
71 lines (50 loc) · 1.63 KB

README.markdown

File metadata and controls

executable file
·
71 lines (50 loc) · 1.63 KB

Uchiwa-Puppet

Tested with Travis CI

Build Status

Upgrade Note

Versions greater than 0.2.6 are incompatible with previous versions of the Yelp-Uchiwa module.

Installation

$ puppet module install yelp-uchiwa

Prerequisites

  • One or more working Sensu installations

Dependencies

  • puppetlabs/apt
  • puppetlabs/stdlib

See Modulefile for details.

Basic example

Sensu server

node 'uchiwa-server.foo.com' {
  include ::uchiwa
}

Advanced example using multiple APIs

API definitions will default to the following values:

name     => 'sensu'
host     => '127.0.0.1'
ssl      => false
insecure => false
port     => 4567
user     => 'sensu'
pass     => 'sensu'
path     => ''
timeout  => 5000

This is an example of a 2 API setup:

node 'uchiwa-server.foo.com' {

  $uchiwa_api_config = [{
                          host  => '10.56.5.8',
                        },
                        {
                          host      => '10.16.1.25',
                          ssl       => true,
                          insecure  => true,
                          port      => 7654,
                          user      => 'sensu',
                          pass      => 'saBEnX8PQoyz2LG',
                          path      => '/sensu',
                          timeout   => 5000
                        }]

  class { 'uchiwa':
    sensu_api_endpoints => $uchiwa_api_config,
  }
}

License

See LICENSE file.