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

sensors (26) Versions 2.0.8

Installs/Configures sensor polling using lm-sensors or openipmi on Linux systems

Policyfile
Berkshelf
Knife
cookbook 'sensors', '= 2.0.8', :supermarket
cookbook 'sensors', '= 2.0.8'
knife supermarket install sensors
knife supermarket download sensors
README
Dependencies
Changelog
Quality 50%

Sensors Cookbook

Cookbook Version
Build Status
OpenCollective
OpenCollective
License

Cookbook to manage hardware sensors via openipmi or lm-sensors on Linux systems. Installs only on hardware systems. Defines sensors to poll via data bag items and installs either lm-sensors or openipmi to poll sensors depending on data bag attributes.

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Requirements

Chef

Chef 15.5+

Platform

  • Debian
  • Ubuntu
  • CentOS
  • Redhat
  • Oracle
  • Scientific

Attributes

default['sensors']['service_name'] - automatically set based on platform. Debian derivatives: lm-sensors & RHEL derivatives: lm_sensors

Data Bags

This cookbook uses a required data bag item per mainboard to configure which sensors should be ignored. This allows you to ignore fans or temperature sensors present in the chipset, but not actually used by the system manufacturer. The cookbook will attempt to load a databag item with the ID of the mainboard in the sensors data bag. The ID can be found using Ohai at node['dmi']['base_board']['product_name']. Example data bags are included in the example_databags directory.

Example data bag for a non-IPMI systems, which will use lm-sensors

{
  "id": "x7dvl",
  "description": "SuperMicro X7DVL",
  "type": "lmsensors"
  "chips": [
    {
      "id": "w83627hf-isa-0290",
      "ignores": [
        "in0",
        "in1",
        "in2",
        "in3",
        "in4",
        "in5",
        "in6",
        "in7",
        "in8",
        "fan1",
        "fan2",
        "fan3",
        "cpu0_vid",
        "beep_enable"
      ]
    },
    {
      "id": "w83792d-i2c-*-2f",
      "ignores": [
        "in0",
        "in1",
        "in2",
        "in3",
        "in4",
        "in5",
        "in6",
        "in7",
        "in8",
        "in9",
        "fan5",
        "fan6",
        "fan7",
        "fan8",
        "fan9",
        "fan10",
        "beep_enable",
        "intrusion0"
      ]
    }
  ]
}

Example data bag for an IPMI systems, which will use OpenIPMI

{
  "id": "x8dtt-h",
  "description": "SuperMicro X8DTT-H",
  "type": "ipmi",
  "sensors": [
        "fan3",
        "fan4"]
}

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

sensors Cookbook CHANGELOG

This file is used to list changes made in each version of the sensors cookbook.

2.0.8 - 2023-10-31

2.0.7 - 2023-09-29

2.0.6 - 2023-09-04

2.0.5 - 2023-07-10

2.0.4 - 2023-05-16

2.0.3 - 2023-05-04

  • Fix CI
  • Add renovate.json
  • Update sous-chefs/.github action to v2
  • Update actions/checkout action to v3

2.0.2 - 2023-02-14

  • Remove Delivery

2.0.1 - 2022-02-08

  • Remove delivery folder

2.0.0 - 2021-11-01

  • Require Chef >= 15.5
  • Update to modern platforms to test against
  • resolved cookstyle error: recipes/default.rb:28:8 refactor: Chef/Modernize/UseChefLanguageCloudHelpers

1.2.8 - 2021-08-31

  • Standardise files with files in sous-chefs/repo-management

1.2.7 - 2021-06-01

  • resolved cookstyle error: recipes/default.rb:24:3 convention: Style/RedundantAssignment
  • resolved cookstyle error: recipes/default.rb:25:1 convention: Layout/EmptyLinesAroundMethodBody
  • resolved cookstyle error: recipes/default.rb:25:1 convention: Layout/TrailingWhitespace

1.2.0 - 2020-05-05

  • Run latest cookstyle
  • Simplify platform detection logic in the attributes file
  • Migrate to actions

1.1.6

  • Remove the Gemfile
  • Add a TESTING.md file
  • Add a CONTRIBUTING.md file

1.1.5

  • Swap the Rakefile for Delivery local mode
  • Update the ignore files
  • Remove the rubocop.yml file since we're using cookstyle now
  • Test in Travis using ChefDK
  • Cookstyle fixes
  • Add long_description metadata
  • Add chef_version metadata
  • Require Chef 12.1 or later since Chef 11 is EOL
  • Update the Chefspecs to do a bit more
  • Use a SPDX compliant license string

1.1.4

  • Add changelog
  • Use stanard chef .gitignore file
  • Remove most of the rule disables in the rubocop file
  • Use travis container environment and test on Ruby 2.2
  • Update the supermarket URL in the berksfile
  • Update and breakout the deps in the Gemfile
  • Add a license file
  • Add a cookbook version badge
  • Set the minimum supported Chef version to 11 in the readme
  • Add more files to the chefignore file
  • Add fedora to the metadata as a supported platform
  • Add issues_url and source_url to the metadata file
  • Update specs to Chefspec 4 format

Collaborator Number Metric
            

2.0.8 passed this metric

Contributing File Metric
            

2.0.8 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

Cookstyle Metric
            

2.0.8 passed this metric

No Binaries Metric
            

2.0.8 passed this metric

Testing File Metric
            

2.0.8 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
            

2.0.8 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