Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.34 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.34 KB

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