0.0
No commit activity in last 3 years
No release in over 3 years
Lita plugin to interact with sensu
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 3.0.0
~> 1.8

Runtime

>= 4.7
 Project Readme

lita-sensu2

Gem Version Build Status Coverage Status

A maintained Lita handler for working with the Sensu monitoring framework.

Note: This handler requires Lita >= 4.7.

Installation

Add lita-sensu2 to your Lita instance's Gemfile:

gem 'lita-sensu2'

Configuration

The sensu handler needs to be configured with information about your sensu installation. Add the following configuration to your lita_config.rb. All parameters are optional, by default the handler will connect to 127.0.0.1:4567 for the sensu API service.

config.handlers.sensu2.api_url = '127.0.0.1'
config.handlers.sensu2.api_port = 4567
config.handlers.sensu2.domain = 'mydomain.com'

Usage

Available commands:

sensu client <client> - Shows information on a specific client sensu client <client> history - Shows history information for a specific client sensu clients - List sensu clients sensu events [for ] - Shows current events, optionally for only a specific client sensu info - Displays sensu information sensu remove client <client> - Remove client from sensu sensu resolve event <client>[/service] - Resolve event/all events for client sensu silence <hostname>[/<check>][ for <duration><units>] - Silence event sensu silences - List current silences sensu stashes - Displays current sensu stashes

License

Apache-2.0