Custom collectd setup, for use with additional configuration service for elastic pollers. All of the environment variables below are required!
- Git URL for cloning
- Project path root (e.g. /var/myapp)
- Command to initialize service
How to use
This container has the basic requirements to run collectd, the collectd package, and a bunch of mibs (in the mibs.tar.gz file). If you want to add to this for your purposes, you can add additional mibs to this file. To actually configure collectd, you'll need to provide a script of some sort that produces a collectd.conf file and then restarts collectd. The intended way to achieve this is to pull a git repo and then execute the script, with parameters provided in the environment variables listed above. You can modify the 'start_container' script in the docker-collectd repo if you want to change or customize this behavior.