0.0
No commit activity in last 3 years
No release in over 3 years
Run Sensu checks localy on the command line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 10.0
~> 3.2.0

Runtime

= 0.17.2
 Project Readme

Sensu Run Check

Build Status

Often after just doing a change on servers you want to just be sure that they’re all going to pass a certain or all Sensu checks. This gem exposes Sensu checks to be executed local on the command line.

WARNING This is very much a hack and will break with other versions* of Sensu!

*) see the sensu-run-check.gemspec for the required version.

Installation

Be sure to install it in the Sensu embedded ruby.

/opt/sensu/embedded/bin/gem install sensu-run-check

Usage

Print the help

/opt/sensu/embedded/bin/sensu-run-check -h

List all checks defined on this host, you must point out your Sensu config file/dir.

/opt/sensu/embedded/bin/sensu-run-check -d /etc/sensu/conf.d -l

Run the disk check.

/opt/sensu/embedded/bin/sensu-run-check -d /etc/sensu/conf.d -r disk

Run all checks defined on this host.

/opt/sensu/embedded/bin/sensu-run-check -d /etc/sensu/conf.d -R

License

(c) 2015 - Rickard von Essen

Released under the MIT license, see LICENSE.txt