Forge Home

sensu_check_wrapper

Wrapper for sensu::check with hiera lookups

6,708 downloads

6,708 latest version

4.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Jan 23rd 2017

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ttarczynski-sensu_check_wrapper', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ttarczynski-sensu_check_wrapper
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ttarczynski-sensu_check_wrapper --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: sensu

Documentation

ttarczynski/sensu_check_wrapper — version 0.1.0 Jan 23rd 2017

sensu_check_wrapper

Table of Contents

  1. Description
  2. Setup - The basics of getting started with sensu_check_wrapper
  3. Contributing - Guide for contributing to the module

Description

sensu_check_wrapper is a puppet module to create Sensu checks.

It is forked from Yelp/puppet-monitoring_check. While Yelp/puppet-monitoring_check can only be used with Yelp's sensu_handlers, this fork works with standard sensu handlers.

It wraps sensu::check and adds for convenience:

  • hiera lookups for params
  • human-readable time format
  • required runbook

Setup

Dependencies

  • puppetlabs/stdlib
  • sensu/sensu

See metadata.json for details.

Beginning with sensu_check_wrapper

sensu_check_wrapper { 'cron':
  check_every => '1m',
  alert       => true,
  runbook     => 'http://lmgtfy.com/?q=cron',
  command     => "/usr/lib/nagios/plugins/check_procs -C crond -c 1:30 -t 30 ",
}

Contributing

Open an issue or fork and open a Pull Request