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

Select Status

RSS

circonus-checks (2) Versions 0.3.0

Common providers for Circonus checks

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

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

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 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.3.0 passed this metric

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