Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'sensu-sensu', '3.0.0'
Learn more about managing modules with a PuppetfileDocumentation
Sensu-Puppet
Table of Contents
- Module Description
- Setup - The basics of getting started with sensu
- Usage - Configuration options and additional functionality
- Reference
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- License
Module description
Installs and manages Sensu, the open source monitoring framework.
Please note, that this is a Partner Supported module, which means that technical customer support for this module is solely provided by Sensu. Puppet does not provide support for any Partner Supported modules. Technical support for this module is provided by Sensu at https://sensuapp.org/support.
Documented with Puppet Strings
Compatibility - supported sensu versions
If not explicitly stated it should always support the latest Sensu release. Please log an issue if you identify any incompatibilities.
Sensu Go Version | Recommended Puppet Module Version |
---|---|
5.x | latest v3 |
Upgrade note
Sensu Go 5.x is a rewrite of Sensu and no longer depends on redis and rabbitmq. Version 3 of this module supports Sensu Go 5.x.
Users wishing to use the old v2 Puppet module to support previous Ruby based Sensu should use sensu/sensuclassic.
Setup
What sensu effects
This module will install packages, create configuration and start services necessary to manage Sensu agents and backend.
Setup requirements
Plugin sync is required if the custom sensu types and providers are used.
This module has a soft dependency on the puppetlabs/apt module (>= 5.0.1 < 7.0.0
) for systems using apt
.
If using Puppet >= 6.0.0 there is a soft dependency on the puppetlabs/yumrepo_core module (>= 1.0.1 < 2.0.0
) for systems using yum
.
Beginning with sensu
This module provides Vagrant definitions that can be used to get started with Sensu.
vagrant up sensu-backend
vagrant ssh sensu-backend
Beginning with a Sensu cluster
Multiple Vagrant boxes are available for testing a sensu-backend cluster.
vagrant up sensu-backend-peer1 sensu-backend-peer2
vagrant provision sensu-backend-peer1 sensu-backend-peer2
Usage
Basic Sensu backend
The following example will configure sensu-backend, sensu-agent on backend and add a check.
By default this module will configure the backend to use Puppet's SSL certificate and CA.
It's advisable to not rely on the default password. Changing the password requires providing the previous password via old_password
.
class { 'sensu::backend':
password => 'supersecret',
old_password => 'P@ssw0rd!',
}
include sensu::agent
sensu_check { 'check-cpu':
ensure => 'present',
command => 'check-cpu.sh -w 75 -c 90',
interval => 60,
subscriptions => ['linux'],
}
Basic Sensu agent
The following example will manage resources necessary to configure a sensu-agent to communicate with a sensu-backend and
associated to linux
and apache-servers
subscriptions.
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions' => ['linux', 'apache-servers'],
},
}
Advanced agent
If you wish to change the agent
password you must provide the new and old password.
It's advisable to set show_diff
to false
to avoid exposing the agent password.
class { 'sensu::backend':
agent_password => 'supersecret',
agent_old_password => 'P@ssw0rd!',
}
class { 'sensu::agent':
config_hash => {
'password' => 'supersecret',
},
show_diff => false,
}
Advanced SSL
By default this module uses Puppet's SSL certificates and CA.
If you would prefer to use different certificates override the ssl_ca_source
, ssl_cert_source
and ssl_key_source
parameters.
The value for url_host
must be valid for the provided certificate and the value used for agent's backends
must also match the certificate used by the specified backend.
If the certificates and keys are already installed then define the source parameters as filesystem paths.
class { 'sensu':
ssl_ca_source => 'puppet:///modules/profile/sensu/ca.pem',
}
class { 'sensu::backend':
url_host => 'sensu-backend.example.com',
ssl_cert_source => 'puppet:///modules/profile/sensu/cert.pem',
ssl_key_source => 'puppet:///modules/profile/sensu/key.pem',
}
class { 'sensu':
ssl_ca_source => 'puppet:///modules/profile/sensu/ca.pem',
}
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions' => ['linux', 'apache-servers'],
},
}
To disable SSL support:
class { 'sensu':
use_ssl => false,
}
Enterprise Support
In order to activate enterprise support the license file needs to be added:
class { 'sensu::backend':
license_source => 'puppet:///modules/profile/sensu/license.json',
}
The type sensu_ldap_auth
requires a valid enterprise license.
Installing Plugins
Plugin management is handled by the sensu::plugins
class.
Example installing plugins on agent:
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions' => ['linux', 'apache-servers'],
},
}
class { 'sensu::plugins':
plugins => ['disk-checks'],
}
The plugins
parameter can also be a Hash that sets the version:
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions' => ['linux', 'apache-servers'],
},
}
class { 'sensu::plugins':
plugins => {
'disk-checks' => { 'version' => 'latest' },
},
}
Set dependencies
to an empty Array to disable the sensu::plugins
dependency management.
class { 'sensu::plugins':
dependencies => [],
}
You can uninstall plugins by passing ensure
as absent
.
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions' => ['linux', 'apache-servers'],
},
}
class { 'sensu::plugins':
plugins => {
'disk-checks' => { 'ensure' => 'absent' },
},
}
Installing Extensions
Extension management is handled by the sensu::plugins
class.
Example installing extension on backend:
class { 'sensu::backend':
password => 'supersecret',
old_password => 'P@ssw0rd!',
}
class { 'sensu::plugins':
extensions => ['graphite'],
}
The extensions
parameter can also be a Hash that sets the version:
class { 'sensu::backend':
password => 'supersecret',
old_password => 'P@ssw0rd!',
}
class { 'sensu::plugins':
extensions => {
'graphite' => { 'version' => 'latest' },
},
}
You can uninstall extensions by passing ensure
as absent
.
class { 'sensu::backend':
password => 'supersecret',
old_password => 'P@ssw0rd!',
}
class { 'sensu::plugins':
extensions => {
'graphite' => { 'ensure' => 'absent' },
},
}
Exported resources
One possible approach to defining checks is having agents export their checks to the sensu-backend using Exported Resources.
The following example would be defined for agents:
@@sensu_check { 'check-cpu':
ensure => 'present',
command => 'check-cpu.sh -w 75 -c 90',
interval => 60,
subscriptions => ['linux'],
}
The backend system would collect all sensu_check
resources.
Sensu_check <<||>>
Resource purging
All the types provided by this module support purging except sensu_config
.
At this time sensu_asset
can not be purged, see Limitations.
This example will remove all unmanaged Sensu checks:
resources { 'sensu_check':
purge => true,
}
Sensu backend cluster
A sensu-backend
cluster can be defined for fresh installs by defining the necessary config_hash
values.
The following examples are using Hiera and assume the sensu::backend
class is included.
# data/fqdn/sensu-backend1.example.com.yaml
---
sensu::backend::config_hash:
etcd-advertise-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-peer-urls: 'http://0.0.0.0:2380'
etcd-initial-cluster: 'backend1=http://192.168.0.1:2380,backend2=http://192.168.0.2:2380'
etcd-initial-advertise-peer-urls: "http://%{facts.ipaddress}:2380"
etcd-initial-cluster-state: 'new'
etcd-initial-cluster-token: ''
etcd-name: 'backend1'
# data/fqdn/sensu-backend2.example.com.yaml
---
sensu::backend::config_hash:
etcd-advertise-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-peer-urls: 'http://0.0.0.0:2380'
etcd-initial-cluster: 'backend1=http://192.168.0.1:2380,backend2=http://192.168.0.2:2380'
etcd-initial-advertise-peer-urls: "http://%{facts.ipaddress}:2380"
etcd-initial-cluster-state: 'new'
etcd-initial-cluster-token: ''
etcd-name: 'backend2'
Adding backend members to an existing cluster
Adding new members to an existing cluster requires two steps.
First, add the member to the catalog on one of the existing cluster backends with the sensu_cluster_member
type.
sensu_cluster_member { 'backend3':
peer_urls => ['http://192.168.0.3:2380'],
}
Second, configure and start sensu-backend
to interact with the existing cluster.
The output from Puppet when a new sensu_cluster_member
is applied will print some of the values needed.
# data/fqdn/sensu-backend3.example.com.yaml
---
sensu::backend::config_hash:
etcd-advertise-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-client-urls: "http://%{facts.ipaddress}:2379"
etcd-listen-peer-urls: 'http://0.0.0.0:2380'
etcd-initial-cluster: 'backend1=http://192.168.0.1:2380,backend2=http://192.168.0.2:2380,backend3=http://192.168.0.3:2380'
etcd-initial-advertise-peer-urls: "http://%{facts.ipaddress}:2380"
etcd-initial-cluster-state: 'existing'
etcd-initial-cluster-token: ''
etcd-name: 'backend3'
The first step will not fully add the node to the cluster until the second step is performed.
Reference
Facts
sensu_agent
The sensu_agent
fact returns the Sensu agent version information by the sensu-agent
binary.
facter -p sensu_agent
{
version => "5.1.0",
build => "b2ea9fcdb21e236e6e9a7de12225a6d90c786c57",
built => "2018-12-18T21:31:11+0000"
}
sensu_backend
The sensu_backend
fact returns the Sensu backend version information by the sensu-backend
binary.
facter -p sensu_backend
{
version => "5.1.0",
build => "b2ea9fcdb21e236e6e9a7de12225a6d90c786c57",
built => "2018-12-18T21:31:11+0000"
}
sensuctl
The sensuctl
fact returns the sensuctl version information by the sensuctl
binary.
facter -p sensuctl
{
version => "5.1.0",
build => "b2ea9fcdb21e236e6e9a7de12225a6d90c786c57",
built => "2018-12-18T21:31:11+0000"
}
Limitations
The Sensu v2 support is designed so that all resources managed by sensuctl
are defined on the sensu-backend
host.
This module does not support adding sensuctl
resources on a host other than the sensu-backend
host.
The type sensu_asset
does not at this time support ensure => absent
due to a limitation with sensuctl, see sensu-go#988.
The type sensu_user
does not at this time support ensure => absent
due to a limitation with sensuctl, see sensu-go#2540.
Notes regarding support
This module is built for use with Puppet versions 5 and 6 and the ruby
versions associated with those releases. See .travis.yml
for an exact
matrix of Puppet releases and ruby versions.
This module targets the latest release of the current major Puppet version and the previous major version. Platform support will be removed when a platform is no longer supported by Puppet, Sensu or the platform maintainer has signaled that it is end of life (EOL).
Though Amazon does not announce end of life (EOL) for its releases, it does encourage you to use the latest releases. This module will support the current release and the previous release. Since AWS does not release Vagrant boxes and the intent of those platforms is to run in AWS, we will not maintain Vagrant systems for local development for Amazon Linux.
Supported Platforms
- EL 6
- EL 7
- Debian 8
- Debian 9
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
- Amazon 2018.03
- Amazon 2
Development
See CONTRIBUTING.md
License
See LICENSE file.
Reference
Table of Contents
Classes
Public Classes
sensu
: Base Sensu classsensu::agent
: Manage Sensu agentsensu::backend
: Manage Sensu backend
Private Classes
sensu::backend::resources
: Default sensu resourcessensu::repo
: Private class to manage sensu repository resourcessensu::ssl
: Private class to manage sensu SSL resources
Resource types
sensu_api_validator
: Verify that a connection can be successfully established between a node and the sensu-backend server. Its primary use is as a precondition tsensu_asset
: Manages Sensu assetssensu_check
: Manages Sensu checkssensu_cluster_member
: Manages Sensu cluster memberssensu_cluster_role
: Manages Sensu cluster rolessensu_cluster_role_binding
: Manages Sensu cluster role bindingssensu_config
: Manages Sensu configssensu_configure
: Managessensuctl configure
. This is a private type not intended to be used directly.sensu_entity
: Manages Sensu entitiessensu_event
: Manages Sensu eventssensu_filter
: Manages Sensu filterssensu_handler
: Manages Sensu handlerssensu_hook
: Manages Sensu hookssensu_ldap_auth
: Manages Sensu LDAP auth. Requires valid enterprise license.sensu_mutator
: Manages Sensu mutatorssensu_namespace
: Manages Sensu namespacessensu_role
: Manages Sensu rolessensu_role_binding
: Manages Sensu role bindingssensu_silenced
: Manages Sensu silencingsensu_user
: Manages Sensu users
Classes
sensu
This is the main Sensu class
Parameters
The following parameters are available in the sensu
class.
version
Data type: String
Version of Sensu to install. Defaults to installed
to support
Windows MSI packaging and to avoid surprising upgrades.
Default value: 'installed'
etc_dir
Data type: Stdlib::Absolutepath
Absolute path to the Sensu etc directory.
Default value: '/etc/sensu'
ssl_dir
Data type: Stdlib::Absolutepath
Absolute path to the Sensu ssl directory.
Default value: '/etc/sensu/ssl'
user
Data type: String
User used by sensu services
Default value: 'sensu'
group
Data type: String
User group used by sensu services
Default value: 'sensu'
etc_dir_purge
Data type: Boolean
Boolean to determine if the etc_dir should be purged such that only Puppet managed files are present.
Default value: true
ssl_dir_purge
Data type: Boolean
Boolean to determine if the ssl_dir should be purged such that only Puppet managed files are present.
Default value: true
manage_repo
Data type: Boolean
Boolean to determine if software repository for Sensu should be managed.
Default value: true
use_ssl
Data type: Boolean
Sensu backend service uses SSL
Default value: true
ssl_ca_source
Data type: String
Source of SSL CA used by sensu services
Default value: $facts['puppet_localcacert']
sensu::agent
Class to manage the Sensu agent.
Examples
class { 'sensu::agent':
backends => ['sensu-backend.example.com:8081'],
config_hash => {
'subscriptions => ['linux', 'apache-servers'],
},
}
Parameters
The following parameters are available in the sensu::agent
class.
version
Data type: Optional[String]
Version of sensu agent to install. Defaults to installed
to support
Windows MSI packaging and to avoid surprising upgrades.
Default value: undef
package_name
Data type: String
Name of Sensu agent package.
Default value: 'sensu-go-agent'
service_name
Data type: String
Name of the Sensu agent service.
Default value: 'sensu-agent'
service_ensure
Data type: String
Sensu agent service ensure value.
Default value: 'running'
service_enable
Data type: Boolean
Sensu agent service enable value.
Default value: true
config_hash
Data type: Hash
Sensu agent configuration hash used to define agent.yml.
Default value: {}
backends
Data type: Array[Sensu::Backend_URL]
Array of sensu backends to pass to backend-url
config option.
The protocol prefix of ws://
or wss://
are optional and will be determined
based on sensu::use_ssl
parameter by default.
Passing backend-url
as part of config_hash
takes precedence.
Default value: ['localhost:8081']
show_diff
Data type: Boolean
Sets show_diff parameter for agent.yml configuration file
Default value: true
sensu::backend
Class to manage the Sensu backend.
Examples
class { 'sensu::backend':
password => 'secret',
}
Parameters
The following parameters are available in the sensu::backend
class.
version
Data type: Optional[String]
Version of sensu backend to install. Defaults to installed
to support
Windows MSI packaging and to avoid surprising upgrades.
Default value: undef
package_name
Data type: String
Name of Sensu backend package.
Default value: 'sensu-go-backend'
cli_package_name
Data type: String
Name of Sensu CLI package.
Default value: 'sensu-go-cli'
service_name
Data type: String
Name of the Sensu backend service.
Default value: 'sensu-backend'
service_ensure
Data type: String
Sensu backend service ensure value.
Default value: 'running'
service_enable
Data type: Boolean
Sensu backend service enable value.
Default value: true
state_dir
Data type: Stdlib::Absolutepath
Sensu backend state directory path.
Default value: '/var/lib/sensu/sensu-backend'
config_hash
Data type: Hash
Sensu backend configuration hash used to define backend.yml.
Default value: {}
url_host
Data type: String
Sensu backend host used to configure sensuctl and verify API access.
Default value: $trusted['certname']
url_port
Data type: Stdlib::Port
Sensu backend port used to configure sensuctl and verify API access.
Default value: 8080
ssl_cert_source
Data type: String
The SSL certificate source
Default value: $facts['puppet_hostcert']
ssl_key_source
Data type: String
The SSL private key source
Default value: $facts['puppet_hostprivkey']
password
Data type: String
Sensu backend admin password used to confiure sensuctl.
Default value: 'P@ssw0rd!'
old_password
Data type: Optional[String]
Sensu backend admin old password needed when changing password.
Default value: undef
agent_password
Data type: String
The sensu agent password
Default value: 'P@ssw0rd!'
agent_old_password
Data type: Optional[String]
The sensu agent old password needed when changing agent_password
Default value: undef
include_default_resources
Data type: Boolean
Sets if default sensu resources should be included
Default value: true
show_diff
Data type: Boolean
Sets show_diff parameter for backend.yml configuration file
Default value: true
license_source
Data type: Optional[String]
The source of sensu-go enterprise license. Supports any valid Puppet File sources such as absolute paths or puppet:/// Do not define with license_content
Default value: undef
license_content
Data type: Optional[String]
The content of sensu-go enterprise license Do not define with license_source
Default value: undef
Resource types
sensu_api_validator
Verify that a connection can be successfully established between a node and the sensu-backend server. Its primary use is as a precondition to prevent configuration changes from being applied if the sensu_backend server cannot be reached, but it could potentially be used for other purposes such as monitoring.
Examples
Verify API connectivity to localhost:8080
sensu_api_validator { 'sensu':
sensu_api_server => 'localhost',
sensu_api_ort => 8080,
}
Properties
The following properties are available in the sensu_api_validator
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
Parameters
The following parameters are available in the sensu_api_validator
type.
name
namevar
An arbitrary name used as the identity of the resource.
sensu_api_server
The DNS name or IP address of the server where sensu_api should be running.
Default value: localhost
sensu_api_port
The port that the sensu_api server should be listening on.
Default value: 8080
use_ssl
Whether the connection will be attemped using https
Default value: false
test_url
URL to use for testing if the Sensu backend is up
Default value: /health
timeout
The max number of seconds that the validator should wait before giving up and deciding that sensu_api is not running; defaults to 15 seconds.
Default value: 30
sensu_asset
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.
Examples
Create an asset
sensu_asset { 'test':
ensure => 'present',
url => 'http://example.com/asset/example.tar',
sha512 => '4f926bf4328fbad2b9cac873d117f771914f4b837c9c85584c38ccf55a3ef3c2e8d154812246e5dda4a87450576b2c58ad9ab40c9e2edc31b288d066b195b21b',
filters => ['System.OS==linux'],
}
Properties
The following properties are available in the sensu_asset
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
url
The URL location of the asset.
sha512
The checksum of the asset
filters
Valid values: /.*/, absent
A set of filters used by the agent to determine of the asset should be installed.
namespace
The Sensu RBAC namespace that this asset belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_asset
type.
name
namevar
The name of the asset.
sensu_check
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_handler
- Puppet will autorequiesensu_handler
resources defined inhandlers
property.sensu_asset
- Puppet will autorequiresensu_asset
resources defined inruntime_assets
property.sensu_hook
- Puppet will autorequiresensu_hook
resources defined incheck_hooks
property.
Examples
Create a check
sensu_check { 'test':
ensure => 'present',
command => 'check-http.rb',
subscriptions => ['demo'],
handlers => ['email'],
interval => 60,
}
Create a check that has a hook
sensu_check { 'test':
ensure => 'present',
command => 'check-cpu.sh -w 75 -c 90',
subscriptions => ['linux'],
check_hooks => [
{ 'critical' => ['ps'] },
{ 'warning' => ['ps'] },
],
interval => 60,
}
Properties
The following properties are available in the sensu_check
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
command
The check command to be executed.
subscriptions
An array of Sensu entity subscriptions that check requests will be sent to.
handlers
An array of Sensu event handlers (names) to use for events created by the check.
interval
Valid values: /^[0-9]+$/, absent
The frequency in seconds the check is executed.
cron
Valid values: /.*/, absent
When the check should be executed, using the Cron syntax.
publish
Valid values: true
, false
If check requests are published for the check.
Default value: true
timeout
Valid values: /^[0-9]+$/, absent
The check execution duration timeout in seconds (hard stop).
ttl
Valid values: /^[0-9]+$/, absent
The time to live (TTL) in seconds until check results are considered stale.
stdin
Valid values: true
, false
If the Sensu agent writes JSON serialized Sensu entity and check data to the command process' STDIN
Default value: false
low_flap_threshold
Valid values: /^[0-9]+$/, absent
The flap detection low threshold (% state change) for the check
high_flap_threshold
Valid values: /^[0-9]+$/, absent
The flap detection high threshold (% state change) for the check
runtime_assets
Valid values: /.*/, absent
An array of Sensu assets (names), required at runtime for the execution of the command
check_hooks
An array of check response types with respective arrays of Sensu hook names.
proxy_entity_name
Valid values: /^[\w.-]+$/, absent
The entity name, used to create a proxy entity for an external resource (i.e., a network switch).
round_robin
Valid values: true
, false
If the check should be executed on a single entity within a subscription in a round-robin fashion.
proxy_requests_entity_attributes
Sensu entity attributes to match entities in the registry, using Sensu Query Expressions
proxy_requests_splay
Valid values: true
, false
If proxy check requests should be splayed
proxy_requests_splay_coverage
The splay coverage percentage use for proxy check request splay calculation.
silenced
Valid values: true
, false
If the event is to be silenced.
env_vars
Valid values: /.*/, absent
An array of environment variables to use with command execution.
output_metric_format
Valid values: nagios_perfdata, graphite_plaintext, influxdb_line, opentsdb_line, absent
The metric format generated by the check command.
output_metric_handlers
Valid values: /.*/, absent
An array of Sensu handlers to use for events created by the check.
max_output_size
Maximum size, in bytes, of stored check outputs.
discard_output
Valid values: true
, false
Discard check output after extracting metrics.
namespace
The Sensu RBAC namespace that this check belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_check
type.
name
namevar
The name of the check.
sensu_cluster_member
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Examples
Add a cluster member
sensu_cluster_member { 'backend2':
ensure => 'present',
peer_urls => ['http://192.168.52.12:2380'],
}
Properties
The following properties are available in the sensu_cluster_member
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
peer_urls
Array of cluster peer URLs
Parameters
The following parameters are available in the sensu_cluster_member
type.
name
namevar
The name of the cluster member.
id
Cluster member ID - read-only
sensu_cluster_role
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Examples
Add a cluster role
sensu_cluster_role { 'test':
ensure => 'present',
rules => [{'verbs' => ['get','list'], 'resources' => ['checks'], 'resource_names' => ['']}],
}
Properties
The following properties are available in the sensu_cluster_role
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
rules
The rulesets that a role applies.
Parameters
The following parameters are available in the sensu_cluster_role
type.
name
namevar
The name of the role.
sensu_cluster_role_binding
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_cluster_role
- Puppet will autorequiresensu_cluster_role
resource defined inrole_ref
property.sensu_user
- Puppet will autorequiresensu_user
resources based on users and groups defined for thesubjects
property.
Examples
Add a cluster role binding
sensu_cluster_role_binding { 'test':
ensure => 'present',
role_ref => 'test-role',
subjects => [
{ 'type' => 'User', 'name' => 'test-user' }
],
}
Properties
The following properties are available in the sensu_cluster_role_binding
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
role_ref
References a cluster role.
subjects
The users or groups being assigned.
Parameters
The following parameters are available in the sensu_cluster_role_binding
type.
name
namevar
The name of the role binding.
sensu_config
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Examples
Manage a config
sensu_config { 'format':
value => 'json',
}
Properties
The following properties are available in the sensu_config
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
value
The value of the config.
Parameters
The following parameters are available in the sensu_config
type.
name
namevar
The name of the config.
sensu_configure
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_api_validator[sensu]
file
- Puppet will autorequirefile
resources defined intrusted_ca_file
property.
Properties
The following properties are available in the sensu_configure
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
url
sensu-backend URL
trusted_ca_file
Path to trusted CA
Default value: /etc/sensu/ssl/ca.crt
Parameters
The following parameters are available in the sensu_configure
type.
name
namevar
The name of the resource.
username
Username to use with sensuctl configure
password
Password to use with sensuctl configure
bootstrap_password
Password to use when bootstrapping sensuctl
Default value: P@ssw0rd!
sensu_entity
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_handler
- Puppet will autorequiesensu_handler
resource defined inderegistration_handler
property.
Examples
Create an entity
sensu_entity { 'test':
ensure => 'present',
entity_class => 'proxy',
}
Properties
The following properties are available in the sensu_entity
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
entity_class
The entity type
subscriptions
A list of subscription names for the entity
system
System information about the entity, such as operating system and platform.
last_seen
Timestamp the entity was last seen, in epoch time.
deregister
Valid values: true
, false
If the entity should be removed when it stops sending keepalive messages.
Default value: false
deregistration_handler
The name of the handler to be called when an entity is deregistered.
redact
List of items to redact from log messages.
namespace
The Sensu RBAC namespace that this entity belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_entity
type.
name
namevar
The unique name of the entity
sensu_event
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.
Examples
Resolve an event
sensu_event { 'test for sensu-agent':
ensure => 'resolve'
}
Delete an event
sensu_event { 'test for sensu-agent':
ensure => 'absent'
}
Properties
The following properties are available in the sensu_event
type.
ensure
Valid values: present, resolve, absent, delete
Aliases: "delete"=>"absent"
The basic property that the resource should be in.
Parameters
The following parameters are available in the sensu_event
type.
name
namevar
Event name. Can take form of ' for '.
entity
The name of the entity the event should match
check
The name of the check the event should match
namespace
The Sensu RBAC namespace that this event belongs to.
Default value: default
sensu_filter
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_asset
- Puppet will autorequiresensu_asset
resources defined inruntime_assets
property.
Examples
Create a filter
sensu_filter { 'test':
ensure => 'present',
action => 'allow',
expressions => ["event.Entity.Environment == 'production'"],
}
Properties
The following properties are available in the sensu_filter
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
action
Valid values: allow, deny
Action to take with the event if the filter expressions match.
expressions
Filter expressions to be compared with event data.
runtime_assets
Valid values: /.*/, absent
Assets to be applied to the filter’s execution context.
namespace
The Sensu RBAC namespace that this filter belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_filter
type.
name
namevar
The name of the filter.
sensu_handler
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_filter
- Puppet will autorequiresensu_filter
resources defined infilters
property.sensu_mutator
- Puppet will autorequiresensu_mutator
resource defined formutator
property.sensu_handler
- Puppet will autorequiresensu_handler
resources defined forhandlers
property.sensu_asset
- Puppet will autorequiresensu_asset
resources defined inruntime_assets
property.
Examples
Create a handler
sensu_handler { 'test':
ensure => 'present',
type => 'pipe',
command => 'notify.rb'
}
Properties
The following properties are available in the sensu_handler
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
type
Valid values: pipe, tcp, udp, set
The handler type.
filters
Valid values: /.*/, absent
An array of Sensu event filters (names) to use when filtering events for the handler.
mutator
Valid values: /.*/, absent
The Sensu event mutator (name) to use to mutate event data for the handler.
timeout
Valid values: /^[0-9]+$/, absent
The handler execution duration timeout in seconds (hard stop)
command
Valid values: /.*/, absent
The handler command to be executed.
env_vars
Valid values: /.*/, absent
An array of environment variables to use with command execution.
socket_host
The socket host address (IP or hostname) to connect to.
socket_port
The socket port to connect to.
handlers
Valid values: /.*/, absent
An array of Sensu event handlers (names) to use for events using the handler set.
runtime_assets
Valid values: /.*/, absent
An array of Sensu assets (names), required at runtime for the execution of the command
namespace
The Sensu RBAC namespace that this handler belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_handler
type.
name
namevar
The name of the handler.
sensu_hook
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.
Examples
Create a hook
sensu_hook { 'test':
ensure => 'present',
command => 'ps aux',
}
Properties
The following properties are available in the sensu_hook
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
command
The hook command to be executed.
timeout
The hook execution duration timeout in seconds (hard stop)
Default value: 60
stdin
Valid values: true
, false
If the Sensu agent writes JSON serialized Sensu entity and check data to the command process’ STDIN.
Default value: false
namespace
The Sensu RBAC namespace that this hook belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_hook
type.
name
namevar
The name of the hook.
sensu_ldap_auth
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Exec[sensu-add-license]
Examples
Add a LDAP auth
sensu_ldap_auth { 'openldap':
ensure => 'present',
servers => [
{
'host' => '127.0.0.1',
'port' => 389,
},
],
server_binding => {
'127.0.0.1' => {
'user_dn' => 'cn=binder,dc=acme,dc=org',
'password' => 'P@ssw0rd!'
}
},
server_group_search => {
'127.0.0.1' => {
'base_dn' => 'dc=acme,dc=org',
}
},
server_user_search => {
'127.0.0.1' => {
'base_dn' => 'dc=acme,dc=org',
}
},
}
Properties
The following properties are available in the sensu_ldap_auth
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
servers
LDAP servers Defaults:
- insecure: false
- security: tls
server_binding
LDAP server bindings
server_group_search
Search configuration for groups. Defaults:
- attribute: member
- name_attribute: cn
- object_class: groupOfNames
server_user_search
Search configuration for users. Defaults:
- attribute: uid
- name_attribute: cn
- object_class: person
groups_prefix
The prefix added to all LDAP groups.
username_prefix
The prefix added to all LDAP usernames.
Parameters
The following parameters are available in the sensu_ldap_auth
type.
name
namevar
The name of the LDAP auth.
sensu_mutator
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_asset
- Puppet will autorequiresensu_asset
resources defined inruntime_assets
property.
Examples
Create a mutator
sensu_mutator { 'example':
ensure => 'present',
command => 'example-mutator.rb',
}
Properties
The following properties are available in the sensu_mutator
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
command
The mutator command to be executed.
timeout
Valid values: /^[0-9]+$/, absent
The mutator execution duration timeout in seconds (hard stop)
runtime_assets
Valid values: /.*/, absent
An array of Sensu assets (names), required at runtime for the execution of the command
env_vars
Valid values: /.*/, absent
An array of environment variables to use with command execution.
namespace
The Sensu RBAC namespace that this mutator belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_mutator
type.
name
namevar
The name of the mutator.
sensu_namespace
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Examples
Add an namespace
sensu_namespace { 'test':
ensure => 'present',
}
Properties
The following properties are available in the sensu_namespace
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
Parameters
The following parameters are available in the sensu_namespace
type.
name
namevar
The name of the namespace.
sensu_role
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.
Examples
Add a role
sensu_role { 'test':
ensure => 'present',
rules => [{'verbs' => ['get','list'], 'resources' => ['checks'], 'resource_names' => ['']}],
}
Properties
The following properties are available in the sensu_role
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
namespace
Namespace the role is restricted to.
Default value: default
rules
The rulesets that a role applies.
Parameters
The following parameters are available in the sensu_role
type.
name
namevar
The name of the role.
sensu_role_binding
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_role
- Puppet will autorequiresensu_role
resource defined inrole_ref
property.sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.sensu_user
- Puppet will autorequiresensu_user
resources based on users and groups defined for thesubjects
property.
Examples
Add a role binding
sensu_role_binding { 'test':
ensure => 'present',
role_ref => 'test-role',
subjects => [
{ 'type' => 'User', 'name' => 'test-user' }
],
}
Properties
The following properties are available in the sensu_role_binding
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
namespace
Namespace the role binding is restricted to.
Default value: default
role_ref
References a role.
subjects
The users or groups being assigned.
Parameters
The following parameters are available in the sensu_role_binding
type.
name
namevar
The name of the role binding.
sensu_silenced
The name of a sensu_silenced
resource may not match the name returned by sensuctl.
The name from sensuctl will take the form of subscription:check
.
If you wish to have a sensu_silenced
resource name match sensuctl then define the name
using the subscription:check
format and do not define subscription
or check
properties.
The subscription
and check
properties take precedence over value in the name if name takes the form subscription:check
.
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
sensu_namespace
- Puppet will autorequiresensu_namespace
resource defined innamespace
property.
Examples
Create a silencing for all checks with subscription entity:sensu_agent
sensu_silenced { 'test':
ensure => 'present',
subscription => 'entity:sensu_agent',
}
Define silencing using composite name where subscription=entity:sensu_agent
and check=*
.
sensu_silenced { 'entity:sensu_agent:*':
ensure => 'present',
}
Define silencing using composite name where subscription=linux
and check=check-http
.
sensu_silenced { 'linux:check-http':
ensure => 'present',
}
Define silencing where subscription is linux and check is check-http. The subscription
property overrides the value from name.
sensu_silenced { 'test:check-http':
ensure => 'present',
subscription => 'linux',
}
Define silencing where subscription is linux and check is test. The check
property overrides the value from name.
sensu_silenced { 'linux:check-http':
ensure => 'present',
check => 'test',
}
Properties
The following properties are available in the sensu_silenced
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
begin
Time at which silence entry goes into effect, in epoch.
expire
Number of seconds until this entry should be deleted.
Default value: -1
expire_on_resolve
Valid values: true
, false
If the entry should be deleted when a check begins return OK status (resolves).
Default value: false
creator
Valid values: /.*/, absent
Person/application/entity responsible for creating the entry.
reason
Valid values: /.*/, absent
Explanation for the creation of this entry.
namespace
The Sensu RBAC namespace that this silenced belongs to.
Default value: default
labels
Custom attributes to include with event data, which can be queried like regular attributes.
annotations
Arbitrary, non-identifying metadata to include with event data.
Parameters
The following parameters are available in the sensu_silenced
type.
name
namevar
Silenced name
check
The name of the check the entry should match
subscription
The name of the subscription the entry should match
sensu_user
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensu_configure[puppet]
Sensu_api_validator[sensu]
Examples
Create a user
sensu_user { 'test':
ensure => 'present',
password => 'supersecret',
groups => ['users'],
}
Change a user's password
sensu_user { 'test'
ensure => 'present',
password => 'newpassword',
old_password => 'supersecret',
groups => ['users'],
}
Properties
The following properties are available in the sensu_user
type.
ensure
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
password
The user's password.
groups
Groups to which the user belongs.
disabled
Valid values: true
, false
The state of the user’s account.
Default value: false
Parameters
The following parameters are available in the sensu_user
type.
name
namevar
The name of the user.
old_password
The user's old password, needed in order to change a user's password
configure
Valid values: true
, false
Run sensuctl configure for this user
Default value: false
configure_url
URL to use with 'sensuctl configure'
Default value: http://127.0.0.1:8080
Types in this module release
Change Log
v2.62.3
Implemented enhancements:
- Add support for Windows 10 #822
Fixed bugs:
- TripleO and Sensu without ssl, ssl still enabled in rabbitmq.json #1050
- Vagrant fails for win2012r2-client-chocolatey #893
- Remove hardcoded /etc/sensu #1071 (treydock)
Closed issues:
- Illegal method definition of method 'validate_keys' on line 8' in legacy function. #1055
Merged pull requests:
- (GH-893) Remove Vagrant box for windows with chocolatey provider #1073 (ghoneycutt)
- Puppet v6 now uses Ruby v2.5.3 #1060 (ghoneycutt)
- Convert sensu_sorted_json legacy function to new Ruby function #1056 (treydock)
- Do not enable rabbitmq ssl for empty cert or key #1053 (treydock)
v2.62.2 (2019-01-19)
Fixed bugs:
Closed issues:
- Rework sensu_silenced name handling #1015
v2.62.1 (2019-01-14)
Implemented enhancements:
- Support MacOS High Sierra (10.13) #993
Merged pull requests:
- Fix osx #1048 (ghoneycutt)
v2.62.0 (2019-01-13)
Implemented enhancements:
Fixed bugs:
- Fix Windows dsc_service when client=>false #1047 (treydock)
- Fix Amazon 2 to use EL7 repos #1044 (treydock)
Closed issues:
- dsc_service throws error when client is false #1046
v2.61.0 (2019-01-11)
Closed issues:
- Running Sensu on Windows as a specific account #819
Merged pull requests:
v2.60.0 (2019-01-11)
Closed issues:
- Source option with sensu_gem provider doesn't work #1007
- RVM conflicts with sensu-install #876
- Unable to define handler specific config properly #647
Merged pull requests:
- Do not expose changed password and pass properties #1043 (treydock)
- Update all Vagrant boxes to use Puppet5 #992 (treydock)
v2.59.0 (2018-12-18)
Implemented enhancements:
- Feature Request: Ability to manage userOptions in dashboard.json #842
Merged pull requests:
- Support custom configurations in enterprise dashboard #1018 (treydock)
- Remove sensu::backend username and password parameters #1002 (treydock)
v2.58.0 (2018-10-29)
Merged pull requests:
v2.57.0 (2018-10-29)
Merged pull requests:
v2.56.0 (2018-10-26)
Implemented enhancements:
- Add support for Ubuntu 18.04 LTS #990
Closed issues:
- Re-evaluate parallel execution of acceptance tests #981
Merged pull requests:
- Add support for Amazon Linux 2.0 #999 (treydock)
- (GH-996) Use Amazon Linux 2018.03 instead of 2017.03 as it is EOL #998 (ghoneycutt)
- Add support for Ubuntu 18.04 #991 (treydock)
v2.55.1 (2018-10-02)
v2.55.0 (2018-10-02)
Merged pull requests:
v2.54.0 (2018-09-06)
Implemented enhancements:
Fixed bugs:
- Windows sensu purge issue #879
Closed issues:
- Operator '[]' is not applicable to an Undef Value error in Rspec Tests #941
- gems not installed on sensu upgrade. #909
- Drop support for Debian 7 on 2018-05-31 #904
- Feature Request: Support Redis ssl configuration #900
- sensu plugin could do with a source param #899
- Implement custom sensu-transport #895
- enable specifying enable/ensure when managing services #888
- Remove sensu_check_config #764
- Consider replacing sensu_contact (and other types) with sensu_sorted_json() #729
Merged pull requests:
- Use newer ruby (2.4.4) for testing Puppet #951 (ghoneycutt)
- (GH-901) Document branches for use with Sensu versions 1 and 2 #913 (ghoneycutt)
- (GH-911) Generate REFERENCE.md for Puppet Forge #912 (ghoneycutt)
- (GH-904) Drop support for Debian 7 which is end of life (EOL) #910 (ghoneycutt)
v2.53.0 (2018-05-21)
Implemented enhancements:
- Feature Request: Support for disabling the TCP/UDP Socket entirely #902
- (GH-902) Add client_socket_enabled boolean parameter #905 (treydock)
Fixed bugs:
- Windows Handlers not handled by module #870
Closed issues:
Merged pull requests:
- Fix spec test warnings #903 (ghoneycutt)
- (GH-896) Support beaker testing on windows server 2012r2 (continued) #898 (treydock)
- (GH-884) Update acceptance testing #887 (treydock)
- Allow gem_install_options on sensu_gem plugins #878 (statyk)
- [870] Support Windows in sensu::handler #874 (treydock)
v2.52.0 (2018-04-16)
Implemented enhancements:
- Implement self.instances for all native providers #770
Fixed bugs:
- Use correct version of stdlib with macos-client in vagrant #892 (ghoneycutt)
Closed issues:
- Vagrant tests fail for macos-client #891
Merged pull requests:
v2.51.0 (2018-04-05)
Merged pull requests:
- Enable specifying enable/ensure when managing services #889 (ghoneycutt)
v2.50.1 (2018-04-05)
Fixed bugs:
- sensu_enterprise_dashboard_api_config purge #883
Merged pull requests:
v2.50.0 (2018-01-19)
Closed issues:
- Pull Request: sensu::check auto_resolve #857
- Enterprise - Purging files no longer managed fails to notify correct service #854
- When removing a check, sensu service not refresh #782
Merged pull requests:
- Adding auto_resolve param to sensu::check. Replaces #858 #872 (alvagante)
- Restart sensu-enterprise service when configs are purged #854 #871 (alvagante)
v2.49.0 (2018-01-16)
Implemented enhancements:
- Allow for management of file and directory permissions #825
Merged pull requests:
- Add parameters to configure dir and file modes #869 (ghoneycutt)
v2.48.0 (2018-01-15)
Implemented enhancements:
Merged pull requests:
v2.47.0 (2018-01-15)
Implemented enhancements:
- (GH-708) Add support for Debian 9 (Stretch) #795 (ghoneycutt)
v2.46.0 (2018-01-15)
Closed issues:
- Support arioch/redis #853
- upgrading to newer version of sensu with newer embeded ruby doesn't reinstall plugins #542
Merged pull requests:
v2.45.0 (2018-01-09)
Closed issues:
- Support MacOS client #862
Merged pull requests:
- Macos #863 (ghoneycutt)
v2.44.0 (2018-01-04)
Merged pull requests:
- Use latest puppetlabs/stdlib (2.24.0) and Stdlib::Filemode type #865 (ghoneycutt)
v2.43.0 (2018-01-04)
Implemented enhancements:
- MAX_OPEN_FILES should be configurable for Sensu Enterprise #849
Fixed bugs:
- Roundrobin subscriptions on Windows aren't configured #820
Closed issues:
- check "type" field lost in json file while upgrading module #860
- Sensu puppet doesn't work correctly if started from crontab: "Package[sensu-plugin] has failures" #859
- test slack integration. #856
- Centos 7 - not properly managing sensu-client service #855
- CONFIG_FILE environment variable should be configurable #851
Merged pull requests:
- Support only the latest releases of Puppet versions 4 and 5 #864 (ghoneycutt)
- Added config_file params to CONFIG_FILE envvar #851 #861 (alvagante)
- Fix #820 #846 (alvagante)
v2.42.0 (2017-12-04)
Closed issues:
- switch from puppetlabs/rabbitmq to puppet/rabbitmq #844
Merged pull requests:
v2.41.0 (2017-11-27)
Merged pull requests:
- Second attempt for #844 #848 (alvagante)
- Revert "Merge pull request #845 from alvagante/844" #847 (ghoneycutt)
- Renamed references to puppetlabs to voxpupuli rabbitmq #844 #845 (alvagante)
v2.40.1 (2017-11-17)
Merged pull requests:
- (security) Update rest-client older version have a vulnerability #843 (ghoneycutt)
v2.40.0 (2017-11-08)
Closed issues:
- Transport class does not use platform specific user and group #838
Merged pull requests:
- (GH-840) Change default mode value for creation of json files #841 (ghoneycutt)
v2.39.0 (2017-11-07)
Closed issues:
- Implement hooks #836
Merged pull requests:
v2.38.1 (2017-11-02)
Fixed bugs:
- redact parameter causes errors #834
Merged pull requests:
v2.38.0 (2017-10-26)
Implemented enhancements:
- sensu module failing on amazon linux as it is pointing to a incorrect yum repo http url which doesn't exist #821
Fixed bugs:
- sensu module failing on amazon linux as it is pointing to a incorrect yum repo http url which doesn't exist #821
Closed issues:
- Sensu Enterprise Service Not Reloading After Checks #827
- Cyclical dependencies when using Sensu Enterprise and the Enterprise API #815
Merged pull requests:
v2.37.0 (2017-10-23)
Fixed bugs:
- transport.json not created when transport_type = rabbitmq #809
Closed issues:
- Add client register and registration client configs #749
Merged pull requests:
v2.36.0 (2017-10-20)
Closed issues:
- Absolute path set for rabbitmq ssl certs #798
- Client config should support servicenow #775
- Client config should support puppet #774
- Client config should support chef #773
- Cannot manage 2008 R2 localised (french) #769
- Add a test in vagrant for PR #745 #747
Merged pull requests:
- Change test versions #830 (ghoneycutt)
- user on check for windows to use module defaults and notifying sensu-enterprise #829 (ghoneycutt)
- [815] Resolve circular dependency when using sensu::enterprise::dashboard::api #816 (glarizza)
- Add vagrant tests for add/remove checks with sensu::check #814 (Phil-Friderici)
- Added sensu_user and sensu_group params to sensu class #769 #813 (alvagante)
v2.35.0 (2017-09-06)
Closed issues:
- Client config should support ec2 #772
Merged pull requests:
- Use variable for ssl_dir in sensu::rabbitmq::config #798 #808 (alvagante)
- Added support to client config for servicenow, ec2, chef, puppet #772 #773 #774 #775 #807 (alvagante)
v2.34.0 (2017-08-31)
Closed issues:
- Client config should support http_socket #776
- Refactor inline documentation to puppet strings (yard) format #757
- Stop using private classes and the anchor pattern #709
- redacting passwords from catalogue output #515
Merged pull requests:
v2.33.1 (2017-08-28)
Closed issues:
- Checks not working as expected #801
Merged pull requests:
- Force array for some sense::check params #801 #804 (alvagante)
- Update the README to clarify support resources #802 (obfuscurity)
- #709 Remove anchors (and create_resources) #763 (alvagante)
v2.33.0 (2017-08-23)
Closed issues:
- Default linux path not working on Windows with $has_cluster #790
Merged pull requests:
- Quick fix for #790 #800 (alvagante)
- Support puppet 5.1 #799 (ghoneycutt)
v2.32.0 (2017-08-18)
Implemented enhancements:
- Modify sensu::check to use defined type sensu::write_json instead of native type sensu_check #783
Closed issues:
Merged pull requests:
- (GH-566) Add pull request template #797 (ghoneycutt)
- (GH-566) Add Code of Conduct #796 (ghoneycutt)
- (GH-760) Document rabbitmq's move to Voxpupuli #794 (ghoneycutt)
- (#783) Add sensu::check content parameter, use sensu::write_json #785 (jeffmccune)
v2.31.0 (2017-08-14)
Closed issues:
- Remove apt module from metadata #791
- minimum apt version wall #788
- sensu::plugin does not work on windows without specifying install_path #786
Merged pull requests:
- Remove soft dependencies on apt and powershell #793 (ghoneycutt)
- Puppet strings 4 all #757 #792 (alvagante)
- (GH-786) sensu::plugin does not work on windows without specifying install_path #789 (Phil-Friderici)
v2.30.1 (2017-07-31)
Fixed bugs:
- Sensu Enterprise API SSL attributes are incorrectly configured #784
Closed issues:
- [puppetlabs/apt] Version bumping for apt module #781
- Auto generated documentation should show up as a GitHub page #777
Merged pull requests:
- (#784) Fix Sensu Enterprise API SSL configuration scope #787 (jeffmccune)
- Update link to auto generated docs #778 (ghoneycutt)
v2.30.0 (2017-07-26)
Closed issues:
- Sensu Enterprise HEAP_SIZE is not configurable #767
- Stop using scope.lookupvar() in templates #701
- Pass gem_install_options to sensu::plugin class #599
- etc_dir should be configurable #578
- How do you use 'package' plugin provider with sensu::plugin define? #384
Merged pull requests:
v2.29.0 (2017-07-26)
Closed issues:
- to_type helper's handling of numbers is too loose #582
Merged pull requests:
v2.28.0 (2017-07-25)
Implemented enhancements:
- Create a reference implementation for provider spec tests #759
Closed issues:
- Allow remediation on check.pp #560
Merged pull requests:
- Add validation of spec/fixtures/unit/**/*.json #768 (ghoneycutt)
- WIP 582 Don't do type convertion on keys of sensu_client_config custom param #766 (alvagante)
- (#759) Add reference spec tests for sensu_check JSON provider #765 (jeffmccune)
- Add handle_silenced parameter to handler defined type #753 (madAndroid)
- (GH-578) etc_dir should be configurable #741 (Phil-Friderici)
v2.27.0 (2017-07-19)
Implemented enhancements:
- Add
rake doc
task to generate documentation from inline comments #748 - Add support for deregister client config and deregistration handler #550
Closed issues:
- plugins should install before checks #463
Merged pull requests:
- (#748) Add puppet-strings gem and dependencies #756 (jeffmccune)
- (#463) Ensure sensu::plugins are managed before checks #755 (jeffmccune)
- (#550) Add sensu client de-registration #750 (jeffmccune)
v2.26.0 (2017-07-19)
Closed issues:
Merged pull requests:
- Data types #761 (ghoneycutt)
- (PR-751) working with csoleimani #752 (Phil-Friderici)
v2.25.0 (2017-07-14)
Merged pull requests:
- (PR-528) working with kali-hernandez #745 (Phil-Friderici)
v2.24.0 (2017-07-13)
Closed issues:
- support for setting spawn limit via puppet #727
- Using rabbitmq_cluster works only the first time puppet runs #598
Merged pull requests:
- (#727) Add sensu::spawn_limit class parameter #744 (jeffmccune)
- (#598) Improve rabbitmq clustering robustness #742 (jeffmccune)
v2.23.0 (2017-07-13)
Closed issues:
- sensu::check resources should support cron scheduling #737
- use puppet code instead of ruby code in template #731
Merged pull requests:
- (#737) Add cron attribute to sensu::check type #743 (jeffmccune)
v2.22.0 (2017-07-13)
Closed issues:
- Vagrant ports for sensu-enterprise-server are off #735
Merged pull requests:
- (GH-599) Pass gem_install_options to sensu::plugin class #740 (Phil-Friderici)
- (GH-560) Add docs for $sensu::check::custom #739 (Phil-Friderici)
- (#735) Fix sensu-server-enterprise Vagrant VM #738 (jeffmccune)
- (GH-701) Stop using scope.lookupvar() in templates #724 (Phil-Friderici)
v2.21.0 (2017-07-12)
Closed issues:
- improvement: proxy_requests for sensu::check #637
Merged pull requests:
- (#637) Add check proxy_requests functionality #736 (jeffmccune)
v2.20.1 (2017-07-11)
Closed issues:
- don't use templates for static files #732
- new subscribe check does not restart sensu-api service #600
Merged pull requests:
- (#600) Reload Sensu API when check configurations change #734 (jeffmccune)
- (#562) Sensu_filter resources notify Sensu Server and Sensu Enterprise #733 (jeffmccune)
v2.20.0 (2017-07-11)
Implemented enhancements:
- Unable to define Contact Routing for Sensu Enterprise #597
Merged pull requests:
- (#597) Add sensu::contact type (Enterprise Only) #728 (jeffmccune)
v2.19.2 (2017-07-11)
Closed issues:
- Switch to using Hiera data in the module instead of accessing variables in another scope #678
- sensu-api service should subscribe to sensu::rabbitmq::config class #433
Merged pull requests:
- (#433) Reload Service[sensu_api] on RabbitMQ config changes #730 (jeffmccune)
v2.19.1 (2017-07-10)
Closed issues:
- $check_notify does not load sensu::enterprise::service #495
Merged pull requests:
- (GH-388) Simplify class notifications #725 (ghoneycutt)
- (#495) Notify Service[sensu-enterprise] from Sensu::Check resources #720 (jeffmccune)
v2.19.0 (2017-07-09)
Closed issues:
- rabbitmq_reconnect_on_error parameter is useless #717
- Windows - attempts to create a local 'sensu' user #617
Merged pull requests:
- (#717) Remove rabbitmq_reconnect_on_error #722 (jeffmccune)
v2.18.0 (2017-07-08)
Closed issues:
- REQ - Windows - Support chocolatey as a package manager #589
Merged pull requests:
- (#589) Add Chocolatey support for Windows #723 (jeffmccune)
v2.17.0 (2017-07-08)
Implemented enhancements:
- Unable to set RabbitMQ Heartbeat option #428
Closed issues:
- Module does not support the when attribute on filters #658
Merged pull requests:
- (#658) Manage the when attribute of sensu filters #721 (jeffmccune)
v2.16.0 (2017-07-07)
Implemented enhancements:
- implement an
instances
method for the sensu_enterprise_dashboard_api_configjson
provider #649
Merged pull requests:
- (#649) Enumerate sensu_enterprise_dashboard_config instances #716 (jeffmccune)
v2.15.0 (2017-07-07)
Closed issues:
- unable to load facts into a newly installed puppet agent server from puppet master #719
Merged pull requests:
- Working on PR557 #718 (Phil-Friderici)
v2.14.0 (2017-07-06)
Closed issues:
- Add support for Puppet 5 #713
- sensu_enterprise_dashboard_api type should use
host
as namevar, notname
#638 - Unable to add ssl and insecure Sensu attributes to API section of dashboard.json #584
Merged pull requests:
- (#638) Enable multiple Sensu Enterprise Dashboard API endpoints #715 (jeffmccune)
v2.13.0 (2017-07-06)
Merged pull requests:
- (GH-713) Support Puppet 5 #714 (ghoneycutt)
v2.12.0 (2017-07-06)
Closed issues:
Merged pull requests:
- (GH-710) support debian 7 and 8 #712 (ghoneycutt)
v2.11.0 (2017-07-06)
Closed issues:
- module should support SSL configuration for API endpoints #648
Merged pull requests:
- Working on PR501 #703 (Phil-Friderici)
v2.10.0 (2017-07-05)
Closed issues:
- Ubuntu16.04 uses the wrong ipaddress #695
- redis_reconnect_on_error should default to true #685
- Windows - sensu-client.log does not rotate #618
Merged pull requests:
- (GH-685) redis_reconnect_on_error now defaults to true #707 (ghoneycutt)
- (GH-695) Use internal interface in Vagrant testing #706 (ghoneycutt)
v2.9.0 (2017-07-04)
Closed issues:
Merged pull requests:
- (GH-648) Add ability to specify SSL options to API config for Enterpr… #705 (ghoneycutt)
- Use rspec-puppet 2.5.x until 2.6.x is fixed #702 (Phil-Friderici)
v2.8.0 (2017-06-30)
Closed issues:
- Vagrant should have clients for other platforms #681
- Error installing Sensu on Windows Server 2012R2 #646
Merged pull requests:
- Fix Package[sensu] on windows #699 (jeffmccune)
- (GH-697) Use https with public package repositories #698 (ghoneycutt)
v2.7.0 (2017-06-28)
Closed issues:
- the sensu-plugin gem is incorrectly installed with the system ruby instead of the embedded ruby #688
Merged pull requests:
- (GH-644) Use the new apt and yum repositories #696 (ghoneycutt)
- (GH-688) Default sensu-plugin gem to use sensu_gem provider #694 (jeffmccune)
v2.6.0 (2017-06-28)
Closed issues:
- Drop support for Windows 2008 and 2012 (non R2) #691
- Drop support for EOL platform ubuntu 12.04 #690
Merged pull requests:
- EOL platforms #693 (ghoneycutt)
- Add support for Ubuntu 16.04 LTS #692 (ghoneycutt)
- (GH-681) Add EL6 platform as a client to Vagrant #689 (ghoneycutt)
v2.5.0 (2017-06-27)
Closed issues:
- Ensure file validation tests are being done #680
- Use a newer puppetlabs_spec_helper that includes syntax validation #679
- Implement support for arbitrary top-level configuration hashes #661
- Getting 'cluster' error from module and then after updating getting 'heartbeat' error #634
- Update repository URLs and release new module version #606
Merged pull requests:
- (GH-680) Add file validation checks for Vagrantfile and shell scripts (*.sh) #687 (ghoneycutt)
- (GH-679) Upgrade puppetlabs_spec_helper and puppet-lint #686 (ghoneycutt)
v2.4.0 (2017-06-27)
Closed issues:
- Vagrant environment does not work #676
Merged pull requests:
- Migrate vagrant to CentOS 7 and Puppet v4 #677 (ghoneycutt)
v2.3.1 (2017-06-27)
Closed issues:
- sensu::write_json requires that owner and group be specified #683
- Heads up about new contributors #673
Merged pull requests:
- (GH-683) Fix having to specify owner/group for sensu::write_json #684 (ghoneycutt)
v2.3.0 (2017-06-21)
Closed issues:
- Fix package suffix spec test #670
- all sort of integrations #666
- test #665
- Could not find init script or upstart conf file for 'sensu-enterprise' #662
- Error: no parameter named 'heartbeat' at [...]/modules/sensu/manifests/rabbitmq/config.pp:126 #659
Merged pull requests:
- Release v2.3.0 #675 (ghoneycutt)
- Fix #670 - Package release string for EL platform #674 (ghoneycutt)
- Update readme example for write_json #672 (robbyt)
- Add ability to write arbitrary JSON to a file #671 (ghoneycutt)
- Standardize files to ignore #669 (ghoneycutt)
- TravisCI to explicitly test supported versions of Puppet #668 (ghoneycutt)
- fix apt errors by adding os facts to debian and ubuntu examples #663 (cwjohnston)
- Avoid running sensu enterprise service in opensource installation #660 (devcfgc)
- redhat version fix #615 (andyroyle)
v2.2.1 (2017-05-30)
Implemented enhancements:
- Drop support for old versions of Puppet and Ruby in next major version? #577
Fixed bugs:
- sensu::check unable to remove a check property #535
Closed issues:
- All of the json files (client, api, etc.) in /etc/sensu/conf.d remain empty #657
- RHEL 7 - Sensu Enterprise service is not being managed correctly #655
- Sensu packages cannot be authenticated #654
- Version parameter fails to work with new package naming #641
- sensu-0.28.5-2.msi checksum mismatch #630
- Provider sensu_gem is not functional on this host #629
- Add Enterprise contact routing management #624
- Does not install latest version #622
- sense::handler creates deprecated "Filters" entry in resulting yaml #620
- Windows: Provider sensu_gem is not functional on this host #607
- Source parameter not purged when removed from check #601
- Windows: Fails to create sensu user #586
- DISCUSSION: Move module to vox-pupuli #585
- Doesn't create a transport.json file #556
Merged pull requests:
- Fix service inconsistencies in enterprise classes #656 (dzeleski)
- Remove Puppet 3.8 from unit tests, update minimum Puppet version in metadata #650 (cwjohnston)
- Update version string validation to allow for redhat platform suffix #645 (cwjohnston)
- Bump puppetlabs/apt dependency #643 (aquister)
- Fix some lint issues and test spec warnings #640 (cryptk)
- support for redis as a transport #639 (RiRa12621)
- Updating sensu_gem provider to check for RUBY_PLATFORM #632 (cdenneen)
- Added windows_repo_prefix to allow for internal mirrors #631 (cdenneen)
- Disable user creation on osfamily = windows by default #628 (cdenneen)
- Add handle_flapping option to sensu::handler #627 (johanek)
- Added package_checksum #625 (cdenneen)
- Add fix to resolve rabbitmq cluster heartbeat config failure. #623 (dzeleski)
- Add support to rotate windows logs #621 (dzeleski)
- use gem.cmd instead of gem.bat #616 (andyroyle)
- Support
ensure
property on sensu::enterprise::dashboard::api #613 (cwjohnston) - Select debian/ubuntu release for apt repo #611 (johanek)
- update repository urls yum #610 (goodwolf)
- Drop support for Ruby 1.9 #605 (ghoneycutt)
- set the log-level in the windows client xml config #604 (andyroyle)
- Sort properties in sensu_check provider #603 (ttarczynski)
- Remove sensu check property with absent #602 (ttarczynski)
- sensu-puppet-add heartbeat feature #596 (derkgort)
- Fix for enabling strict_variables #593 (madAndroid)
- sensu_check provider: fix missed value #592 (pjfbashton)
- Add contributing.md #591 (jaxxstorm)
- Update travis #590 (jaxxstorm)
- Initital fix for sensu on windows #588 (dzeleski)
- Use default redact #580 (paramite)
- transorm input with munge in type rather than in sensu_check/json.rb provider #573 (ttarczynski)
- add timeout support for handlers #547 (lobeck)
v2.2.0 (2016-11-27)
Fixed bugs:
Closed issues:
- Update README.md with compatibility #568
- does sensu-puppet work well in updating to 0.26 #561
- $::sensu::purge['config'] causes file path error on Windows agents #558
- Update subdue for 0.26 #553
- Add support for aggregates array #549
- subdue should be optional for sensu check definition #548
- Update Puppet Forge releases #545
- rabbitmq HA solution #541
- error while installing ruby_dep, Bundler cannot continue #540
- rake: uninitialized constant Syck with ruby 2.3.1 #539
- Add some new maintainers #522
- Using sensu_gem provider before sensu::client is installed? #520
- yum repository #519
- sentinel supports in sensu redis.json #514
- enable support for change in aggregates #512
- Travis builds failing even on no code change #511
- Sensu puppet module causes invalid parameter prefetch on some runs of puppet #507
- Sensu plugin install fails when using URLs #506
- Sensu puppet module causes invalid parameter prefetch on some runs of puppet #504
- Cannot create /etc/sensu/conf.d/redis.json without "password" #503
- Add support for Redis Sentinels Config #499
- Check subdue modified every run #497
- Trailing comma issue in config #492
- Sensu Windows: sensu_rabbitmq_config type needs base_path param passed #489
- Creating a handler for Librato fails #484
- Puppet not populating configuration files #476
- Wrong default value of rabbitmq_vhost #473
- Release new version "Tag the repo" #472
- support for new deregistration options #470
- 'gem list --remote' does not respect proxy settings #460
- Question about overriding check command #459
gem --list
hangs - need a way to set a timeout #452- Sensu-client service enable is not idempotent on CentOS 7 #448
- Differentiate between sensu-plugin gem and the sensu-plugins #432
- Changing Handler type fails with 'keys' error #360
- Support for multiple broker connection options with RabbitMQ #269
- Add functionality to configure mutators #230
Merged pull requests:
- Module bump #587 (jaxxstorm)
- Add support for multi-host Rabbitmq config #581 (dhgwilliam)
- fix tests on Ruby 1.8 #579 (ttarczynski)
- pin semantic_puppet gem at \< 0.1.4 on Ruby 1.8 or earlier #576 (cwjohnston)
- Small puppet-lint fix #575 (ttarczynski)
- use constant SENSU_CHECK_PROPERTIES instead of hardcoded check_args in sensu_check provider #572 (ttarczynski)
- Add sensu compatibility info in README.md #571 (ttarczynski)
- [enterprise dashboard] move package resource inside conditional #570 (cwjohnston)
- Add an issue template #567 (jaxxstorm)
- remove subdue property with 'absent' #565 (ttarczynski)
- Tests for subdue 2.0 #564 (ttarczynski)
- Remove subdue from handler #563 (ttarczynski)
- Add support for new aggregates type in 0.26 #554 (jaxxstorm)
- Add ruby 2.2 tests #552 (jaxxstorm)
- Fixes for Windows clients with Enterprise #544 (jacobmw)
- small fixes in docs #543 (ttarczynski)
- Fixing tests #538 (jaxxstorm)
- validate subdue is a hash #536 (fessyfoo)
- Allow undef handlers and subscribers #531 (thejandroman)
- Pin the package provider for RedHat osfamily #530 (thejandroman)
- Pin listen to a working pre-ruby2.2 version #529 (thejandroman)
- Better explain diff between diff sensu-plugin #526 (jaxxstorm)
- Switch default vhost to /sensu #525 (jaxxstorm)
- Add support for stringified aggregates #524 (jaxxstorm)
- Add support for client deregistration #523 (jaxxstorm)
- Fix tests #517 (jaxxstorm)
- small puppet-lint fixes #513 (ttarczynski)
- Small fix in docs #510 (ttarczynski)
- Support redis sentinels and add master property #509 (modax)
- fix issue #497 #498 (bovy89)
- Use 127.0.0.1 instead of localhost for hosts, it could resolve to ::1 #494 (portertech)
- Updated config.pp to add base_path #490 (r0b0tAnthony)
- Install rake \< 11.0.0 for ruby \< 1.9.3 #487 (atrepca)
- add source to remote_file for urls in plugin.pp #486 (chrissav)
v2.1.0 (2016-02-29)
Closed issues:
- Error no parameter named socket in sensu_client_config #474
- Repuppet fails #469
- Could not start service - plugin file permissions #465
- redis.json removed on purge { config => true } #461
- Please put a Github Tag/Release on v2.0.0 commit #455
- should sensu:;plugin support purge for gems ? #450
- Error: Could not convert change 'socket' to string: undefined method `keys' for nil:NilClass #447
- Authentication issue when attempting to install sensu package #444
- Could not autoload puppet/type/sensu_filter: uninitialized constant PuppetX::Sensu::ToType #441
- Add option not to manage handlers dir #430
- manage_plugins_dir doesn't seem to do anything #429
- Please, push new version to forge with updated apt dependencies #413
- What version of puppet are you running? #404
- Client.json integers are saved as double quoted strings on first run #399
Merged pull requests:
- version bump: 2.1.0 #483 (jlambert121)
- add support for configuring sensu-enterprise-dashboard audit logging #482 (cwjohnston)
- add support for configuring sensu-enterprise-dashboard gitlab auth #481 (cwjohnston)
- add support for configuring sensu-enterprise-dashboard ssl listener #480 (cwjohnston)
- Feature prefetch attribute #479 (chrissav)
- Add filters and filter_defaults to init with create_resources, missing puppetdoc #478 (dmsimard)
- Add tests when using checks parameter in init #477 (dmsimard)
- Added parameter sensu::install_repo as the first condition to manage … #475 (mrodm)
- Add support for using the same source for different sensu handlers #471 (salimane)
- add defaults for create_resources() #468 (EslamElHusseiny)
- add create_resources() for mutators the same way for handlers, checks #467 (EslamElHusseiny)
- Redaction support #466 (jaxxstorm)
- support purging with enterprise version #462 (jcochard)
- fix issue #399 #458 (bovy89)
- Fixing regression bug. #457 (zbintliff)
- sensu fails to start as client_port is a string. #456 (sathlan)
- Enterprise dashboard config password #449 (agarstang)
- Updating links in README.md to point to the right branch #446 (jlk)
- Ensure "apt-get update" runs after adding apt source #445 (jlk)
- update client config to use socket hash #443 (gsalisbury)
- Add ruby-dev to be installed whilst provisioning process. #442 (zylad)
- Added subdue attribute to sensu_check type #440 (liamjbennett)
- Adding option to manage the mutators dir #439 (gsalisbury)
- Adding windows support. #438 (liamjbennett)
- update supported puppet versions #437 (jlambert121)
- add ttl to check provider #436 (gsalisbury)
- Add functionality to configure mutators #230 #435 (gsalisbury)
- Update package repository URLs #434 (portertech)
- Adding option to manage the handlers dir #431 (jaxxstorm)
- strict_variables bugfix for redhat ::osfamily #427 (smithtrevor)
- version bump: 2.0.0 #426 (jlambert121)
v2.0.0 (2015-09-24)
Closed issues:
- Setting handlers to undef for a checks does not trigger change in respective json config file. #414
- Pull request #407 breaks the show for me. #412
- Master requires apt module >= 2.0, not 1.8 #411
- How to keep the sensu-plugin gem installed ? #410
- Undefined variable "file_ensure" in sensu::handler #406
- json providers can not "unset" properties #394
- sensu-api not restarted when check definitions change #392
- issue with "Do not use 'handle' and 'handlers' together. Your 'handle' value has been overridden with 'handlers'" #391
- How to make sensu::plugins do an array merge in hiera #387
- plugins directory permissions inconsistent #385
- Invalid package provider 'sensu_gem' #383
- Create resources not doing deep merging in hiera #382
- sensu::checks failing when subscribers are specified #381
- need updates to support subdue and possibly other new config sections #380
- Error trying to apply a filter #375
- Filters throwing failed: 'undefined method `sort' for nil:NilClass' error #374
- getting Notice: Do not use 'handle' and 'handlers' together. Your 'handle' value has been overridden with 'handlers' #371
- Invalid parameter reconnect_on_error #369
- allow merging of hiera configs instead of only taking lowest in hierarchy #366
- Sensu_redis_config changes on every run #357
- Creating checks with hiera #354
- First run on a new client node fails checks which depend on plugins #353
- Client_custom overrides client_port #342
- sensu_gem provider proxy support #339
- sensu::client::config keepalives 'change' every run #336
- operatingsystemmajrelease is lsbmajdistrelease in puppet 3 #330
- Unable to purge handlers, extensions, or mutators #328
- Unable to install sensu without rubygems #322
- windows support #317
- sensu-plugin is "removed" every puppet run #298
Merged pull requests:
- allow setting of path #425 (fessyfoo)
- Add require on apt::update for puppetlabs-apt 2.x #424 (br0ch0n)
- Correcting issue #318 #423 (standaloneSA)
- allow handle and handlers together #422 (jlambert121)
- set sysconfig parameters when defined #421 (jlambert121)
- Make the sensu enterprise dashboard not show up unbidden #419 (hashbrowncipher)
- Move file_ensure out of conditional #418 (hashbrowncipher)
- update apt module dep #416 (jlambert121)
- fix redis_db type def #415 (crpeck)
- Fix Sensu Enterprise services when not using enterprise #409 (Pryz)
- Enable provider for sensu plugins #408 (rhoml)
- Added support to redis db and auto_reconnect parameters #407 (bovy89)
- Set fqdn for sensu client name #402 (mdevreugd)
- Add
purge
parameter to control all purging, deprecate `purge_config… #401 (nhinds) - [WIP] Sensu Enterprise & Enterprise Dashboard support #400 (dhgwilliam)
- add *.swp (vim buffer files) to .gitignore #398 (jhoblitt)
- remove world readable permissions from redis.json #397 (jhoblitt)
- convert sensu_client_subscription Puppet::notice -> Puppet::debug #395 (jhoblitt)
- remove world readable permissions from \<handler>.json #393 (jhoblitt)
- added subdue to sensu_handler type to handle properly subdue option #390 (bovy89)
- fixed 385, add owner group sensu:sensu to plugins dir and plugins files #386 (hurrycaine)
- change default for filters param of sensu::handler (fix #374) #379 (somic)
- Relax the apt module version restriction #378 (johnf)
- fix source param in sensu_check #377 (kam1kaze)
- fix subscribers parameter in sensu_check #376 (kam1kaze)
- fix filters docstring in sensu::handler #370 (somic)
- Added support for JIT clients #368 (rk295)
- update travis, gems, lint #364 (jlambert121)
- update yum repo location #363 (jlambert121)
- ensure plugins installed before client service started #362 (jlambert121)
- Updating APT source to use new apt module version #361 (bleuchtang)
- allow modification of hasrestart attribute for services #359 (somic)
- Filter attributes are a property, not a param #358 (bashtoni)
- Hiera Lookups #352 (bleuchtang)
- fixed spelling error in parameters descriptions #350 (paulpet)
- Fix problem introduced in #346 and simplification of create #349 (cataphract)
- Boolean properties and misc #346 (cataphract)
- Boolean checking/converting on sensu_redis_config #345 (superseb)
- Add install_options for (sensu-)gem provider(s) #344 (bjwschaap)
- Add port to check_args so it doesn't gets cleared by custom property #343 (superseb)
v1.5.5 (2015-04-10)
Closed issues:
- reconnect_on_error: reconnect_on_error changed 'true' to 'true' #338
- Unable to configure client port #335
- New configuration: gem uninstall sensu-plugin is failing in 1.5.0 #318
- Invalid parameter provider on Package[sensu-plugin] #308
- no support for redis_password #305
- The sensu purge_config option now removes rpm deployed plugins #304
- Cannot install gems to develop sensu-puppet #301
- Can't remove JSON keys by (un)setting class parameters #300
- sensu custom json reordered on each run #271
- Support defining extensions #157
Merged pull requests:
- Make client port configurable, issue #335 #341 (superseb)
- Apply same boolean checking/converting on sensu_rabbitmq_config as in sensu_client_config, fixes #338 #340 (superseb)
- adding ability to store rabbitmq cert/keys in hiera/vars instead of just... #337 (dkiser)
- Fix issue with array checking when no array present. #334 (jonathanio)
- Add support for :reconnect_on_error. #333 (jonathanio)
- Fix #318: Introducing custom uninstall in sensu_gem #332 (queeno)
- Allow configuration of the init MAX_TIMEOUT #331 (whpearson)
- Restrict access to the client config file to protect client tokens #329 (jinnko)
- catch blacksmith load issues #327 (jlambert121)
- Fix type typo #326 (bbanzai)
- to_type convert :undef into string #323 (keymone)
- add option to purge plugins directory #321 (yyejun)
- Fix redis noauth #316 (bashtoni)
- remove metadata-json-lint limitation #315 (jlambert121)
- Make sure filters dir exists before creating any #314 (bashtoni)
- Keepalived config not merged since you are specifying the json in the puppet hash variable #313 (victorgp)
- Fix dependency chain when deploy plugins directory #312 (bashtoni)
- typo fixed #311 (confiq)
- ensure erlang is installed for acceptance tests #310 (jlambert121)
- Revert "Add parameter to allow purging plugins, handlers, extensions and... #307 (jlambert121)
- Added Redis password support #306 (jamtur01)
- Sort array properties before comparison #303 (dpeters)
- Add parameter to allow purging plugins, handlers, extensions and mutators #302 (nhinds)
- Plugin version #299 (jlambert121)
v1.5.0 (2015-01-16)
Merged pull requests:
- Added support for loading and configuring extensions. #297 (jonathanio)
v1.4.0 (2015-01-13)
Closed issues:
- lint validation #282
- box file is 404 in Vagrant cloud #281
- Defining checks via hiera #279
- Missing release 1.3.1 from git? #275
- New version of amqp deployed today 1.5.0, breaks client mq connection #266
- Check defined on server (subscription check) results in changes on every run #265
- Invalid parameter ssl_transport on Sensu_rabbitmq_config #263
- Document what prerequisites are required #262
Merged pull requests:
- add ability to specify provider for sensu-plugin package #296 (jlambert121)
- enable travis container environment #295 (jlambert121)
- update gemfile #294 (jlambert121)
- fix for future parser #292 (jlambert121)
- add puppet requirements, dependency bounds, OS support #289 (jlambert121)
- update vagrantfile #288 (jlambert121)
- enhance acceptance tests, update spec tests #287 (jlambert121)
- Revert "Flapjack support for puppet" #286 (jlambert121)
- Fixes for dependencies and subscribers properties in sensu::check. #285 (jonathanio)
- Flapjack support for puppet #284 (poolski)
- lint fixes #283 (jlambert121)
- Made handle and handlers mutually exclusive #280 (jamtur01)
- Adds puppetforge version number #278 (spuder)
- Update sensu_gem provider #277 (adamcrews)
- Vagrant #276 (spuder)
- Add sensu_gem package provider #274 (adamcrews)
- Override path of yum repo if rhel or centos 7. #272 (m7ov)
- Update tests for unsupported OSes #270 (jlambert121)
- fix rabbitmq ssl config #268 (patrick-minted)
- fix filter json #267 (patrick-minted)
- add support for insecure HTTPS in sensu::plugin #264 (dhgwilliam)
v1.3.1 (2014-10-18)
Closed issues:
- Missing dependency #260
- Update README.md to include sensu version compatibility. #258
- Custom keepalive settings result in changes on every run #257
- Could not load downloaded file /var/lib/puppet/lib/puppet/provider/sensu_client_config/json.rb: no such file to load -- rubygems #256
- Add compatibility for Sensu 0.13 #209
- use_embedded_ruby doesn't work on centos #208
- checks: removing type => metric doesn't remove it from the config json #166
- sensu::check is trying to escape double quotes passed in a part of the check command #158
- SSL & rabbitmq config..? #143
Merged pull requests:
v1.3.0 (2014-10-12)
Closed issues:
- Add "What is Sensu" to the README.md #251
Merged pull requests:
- Use the command parameter if it's defined alongside the source parameter #255 (bodgit)
- Add custom variables to subscriptions #225 (bodgit)
v1.2.1 (2014-09-28)
Closed issues:
Merged pull requests:
v1.2.0 (2014-09-23)
Closed issues:
- Use of str2bool for a value that's already a bool #245
- setting install_repo to false breaks module #233
- how to configure logstash handler? #226
- Sensu_client_config and subscriptions are always retriggered at every puppet run, leading to no-checks being run under certain circumstances #216
- Needed apt-get update after adding new apt-key #201
- Plugin directory source doesn't work #197
- Sensu client config notify on no change #187
Merged pull requests:
- Add rabbitmq_ssl parameter to enable SSL transport to RabbitMQ #249 (misterdorm)
- A (better) fix for Issue #197 #248 (zanloy)
- Fix check of $sensu::install_repo #246 (octete)
- Fixissue197 #244 (zanloy)
- Revert "Fixissue197" #242 (jamtur01)
- Fixissue197 #241 (zanloy)
- Fixing dependencies parameter on sensu_check type #240 (Phracks)
- Support for transport pipe configuration #238 (sdklein)
- Add optional pipe property to sensu_handler #237 (yeungda)
- Basic working Beaker spec for Sensu #236 (petems)
- Add warning for dashboard #235 (petems)
- Fix for issue #233: accomodating for install_repo, with specs #234 (bjwschaap)
- Fix client keepalive cycling #232 (johnf)
- Fix filter attributes #229 (johnf)
- Fix handler filter #228 (johnf)
- Add condition if sensu::install_repo is false #227 (wallies)
- Set a GEM_PATH variable in /etc/default/sensu #203 (octete)
v1.1.0 (2014-08-16)
Closed issues:
Dependencies
- puppetlabs/stdlib (>= 4.25.1 < 6.0.0)
Copyright (c) 2013 James Turnbull, Jeremy Carroll, Justin Lambert, Tim Sharpe Copyright (C) 2017-2019 Garrett Honeycutt <code@garretthoneycutt.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.