A plugin for Err which interacts with Sensu API endpoints.
The plugin takes a list of Sensu API endpoints with a named environment, like so:
!config Sensu {'ENDPOINTS': [{'ENVIRONMENT': 'staging', 'URI': 'http://sensu.staging.example.com'}]}
Each sensu command expects the endpoint environment name as its first argument, e.g. !sensu qa summarize
would attempt to summarize events from the Sensu API endpoint whose ENVIRONMENT
is 'qa'.
silence
- silence a client or client/checkunsilence
- unsilence a client or client/checksilencelist
- list silenced clients/checksstashlist
- list all stashes including those used for silencingsummarize
- print a summary of events by severity
Released into public domain. Do with it as you wish!