Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sensu-plugin-trello

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sensu-plugin-trello

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Sensu check for new incidents in Trello

Checks for cards in a trello list. If cards are present, the check returns CRITICAL, containing name and date of last activity of card. When more than one card is present, all card names and dates are returned with ; delimiter.

Installation

Add this line to your application's Gemfile:

gem 'sensu-plugin-trello'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sensu-plugin-trello

CONFIGURATION

Configuration of API key and API token should be done through the sensu settings file located in /etc/sensu/conf.d/.

api_key and api_token can be obtained from Trello. list can be obtained by adding .json to a card in the browser in the list that should be monitored and search for idList in the JSON-output. Note that in a production environment, api_key and api_token should be specified in the Sensu settings rather than through CLI parameters.

USAGE

Check if a specific trello list is empty or contains cards

Required parameters

ParameterDescription
-l LISTid of the Trello list to be checked
-k KEYTrello API key
-t TOKENTrello API token

Optional parameters

ParameterDescription
-h HOSTTrello API host
-p PORTTrello API port

Example:

 ./bin/check-trello-incidents.rb -k 123456789012 -t 1234567890121234567890 -l 1234567890 

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aboutsource/sensu-plugin-trello.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 25 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc