Chef cookbook that adds collectd pulgins via node attributes.
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]"
]
}- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
-
Author:: Holger Amann holger@sauspiel.de
-
Copyright:: 2013, Sauspiel GmbH
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