Skip to content
master
Switch branches/tags
Code
This branch is up to date with master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

lita-sensu

Gem Version Build Status Coverage Status

Lita handler for working with the Sensu monitoring framework.

Note: This handler requires Lita >= 4.3.

Installation

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

gem "lita-sensu"

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.sensu.api_url = '127.0.0.1'
config.handlers.sensu.api_port = 4567
config.handlers.sensu.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 stashes - Displays current sensu stashes

License

Apache-2.0

About

Sensu handler for Lita

Resources

License

Packages

No packages published