Skip to content

About

collectd-attribute_driven Chef Cookbook

Resources

Stars

0 stars

Watchers

3 watching

Forks

Repository files navigation

collectd-attribute_driven Cookbook

Chef cookbook that adds collectd pulgins via node attributes.

Requirements

collectd-cookbook

Usage

e.g. Include collectd-attribute_driven in your role's run_list and define attributes

{
  "name":"webserver_role",
  "collectd": {
    "plugins": {
      "processes": {
        "config": {
          "Process": ["nginx"]
        }
      },
      "nginx": {
        "config": {
          "URL": "http://localhost/nginx_status"
        }
      },
      "load": {},
      "swap": {},
      "users": {},
      "memory": {},
      "entropy": {}
    }
  },
  "run_list": [
    "recipe[collectd-attribute_driven]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

About

collectd-attribute_driven Chef Cookbook

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages