Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

circonus-checks (2) Versions 0.3.0

Common providers for Circonus checks

Berkshelf/Librarian
Policyfile
Knife
cookbook 'circonus-checks', '~> 0.3.0'
cookbook 'circonus-checks', '~> 0.3.0', :supermarket
knife cookbook site install circonus-checks
knife cookbook site download circonus-checks
README
Dependencies
Changelog
Quality

circonus-checks-cookbook

Providers for common Circonus checks

Usage

postgres_locks

A gauge showing number of current locks of each type.

include_recipe 'circonus-checks'

circonus_postgres_locks 'postgres' do
  database 'postgres'
  port 5432
  user 'postgres'
  password 'lajfaldsfasdj'
  target node.ipaddress
  broker 'my-broker'
end
  • name - arbitrary
  • port - defaults to 5432
  • user - defaults to 'postgres'
  • password - if not used, no password is included in connection string
  • target - circonus target for postgres check
  • broker - broker for graph creation

rabbitmq_overview

Tracks metrics relating to overall RabbitMQ usage, including number of connections, messages pending consumption and overall message count. This configures a Circonus JSON check which hits the RabbitMQ overview API, and depends on the RabbitMQ management plugin being installed.

circonus_rabbitmq_overview 'my-app' do
  port 15672
  user 'guest'
  password 'guest'
  broker 'circonus.broker'
  target node.ipaddress
end
  • name — arbitrary, just to make Chef resource unique
  • port — the port to the admin API, which is different from the port used by AMQP
  • user — a user with administrator privileges (required)
  • password — (required)
  • broker — broker for graph creation
  • target — target for json check.

sidekiq_queue

include_recipe 'circonus-checks'

circonus_sidekiq_queue 'queue_name' do
  redis_db 2
  namespace 'app'
  target node.ipaddress
end

sidekiq_failed

The name attribute of this check is arbitrary. It is used to ensure that, if multiple sidekiq installations are using the same redis host (perhaps with a different db or namespace), Chef differentiates the providers.

include_recipe 'circonus-checks'

circonus_sidekiq_failed node.name do
  redis_db 2
  namespace 'app'
  target node.ipaddress
end

sidekiq_scheduled

The name attribute of this check is arbitrary. It is used to ensure that, if multiple sidekiq installations are using the same redis host (perhaps with a different db or namespace), Chef differentiates the providers.

include_recipe 'circonus-checks'

circonus_sidekiq_scheduled 'my-app' do
  redis_db 2
  namespace 'app'
  target node.ipaddress
end

License and Authors

Author:: Wanelo, Inc. (dev@wanelo.com)

Dependent cookbooks

circonus >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of circonus-checks

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 failed this metric

FC057: Library provider does not declare use_inline_resources: circonus-checks/libraries/postgres_locks_provider.rb:13
FC057: Library provider does not declare use_inline_resources: circonus-checks/libraries/rabbitmq_overview_provider.rb:13
FC057: Library provider does not declare use_inline_resources: circonus-checks/libraries/sidekiq_failed_provider.rb:11
FC057: Library provider does not declare use_inline_resources: circonus-checks/libraries/sidekiq_queue_provider.rb:11
FC057: Library provider does not declare use_inline_resources: circonus-checks/libraries/sidekiq_scheduled_provider.rb:10
FC064: Ensure issues_url is set in metadata: circonus-checks/metadata.rb:1
FC065: Ensure source_url is set in metadata: circonus-checks/metadata.rb:1
FC066: Ensure chef_version is set in metadata: circonus-checks/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: circonus-checks/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Publish Metric
            

0.3.0 passed this metric

Supported Platforms Metric
            

0.3.0 failed this metric

circonus-checks should declare what platform(s) it supports.

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number