Puppet Class: sensu

Defined in:
manifests/monitoring/server/sensu.pp

Overview

Copyright (C) 2014 eNovance SAS <licensing@enovance.com>

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.

checks

(optionnal) Hash of checks and their respective options Defaults to {}. Example :

$checks = {
  'ntp' => {
     'command' => '/etc/sensu/plugins/check-ntp.sh'},
  'http' => {
     'command' => '/etc/sensu/plugins/check-http.sh'},
}
handlers

(optionnal) Hash of handlers and their respective options Defaults to {}. Example :

$handlers = {
  'mail' => {
     'command' => 'mail -s "Sensu Alert" contact@example.com'},
}
plugins

(optionnal) Hash of handlers and their respective options Defaults to {}. Example :

$plugins = {
  'http://www.example.com/ntp.sh' => {
     'type'         => 'url',
     'install_path' => '/etc/sensu/plugins',
  }
}
manage_sensu_plugins

(optionnal) A boolean that determines if the Sensu plugins resources should be exported from this node Defaults to 'false'

sensu_api_ip

(optionnal) IP address to bind the sensu_api to Defaults to '%ipaddress'

sensu_api_port

(optionnal) Port to bind the sensu_api to Defaults to '4568'

uchiwa_ip

(optionnal) IP address to bind uchiwa to Defaults to '%ipaddress'

uchiwa_port

(optionnal) Port to bind uchiwa to Defaults to '3000'

firewall_settings

(optional) Allow to add custom parameters to firewall rules Should be an hash. Default to {}

Parameter Summary