Skip to content

ehtobsemaj/puppet-uchiwa

 
 

Repository files navigation

Uchiwa-Puppet

Tested with Travis CI

Build Status

Upgrade Note

Versions greater than 0.3.0 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  => 5

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   => 5
                        }]

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

License

See LICENSE file.

About

Puppet module for installing Uchiwa

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 65.0%
  • Puppet 31.1%
  • HTML 3.9%