Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collectd exit after running #34

Open
FS1360472174 opened this issue Apr 22, 2016 · 0 comments
Open

collectd exit after running #34

FS1360472174 opened this issue Apr 22, 2016 · 0 comments

Comments

@FS1360472174
Copy link

confuse about the readme page,not clear about which steps is necessary.
so just run the Minimal command:
docker run -d -v /var/run/docker.sock:/var/run/docker.sock
-e GRAPHITE_HOST= -e COLLECTD_HOST=
bobrik/collectd-docker

container run then exit,exit code is (6).
search answer from existing issue,found that environment variables should be set.

from page,basicly these variables have default value ,but not COLLECTD_DOCKER_APP and COLLECTD_DOCKER_TASK.

Environment variables
COLLECTD_HOST - host to use in metric name, defaults to MESOS_HOST if defined.
COLLECTD_INTERVAL - metric update interval in seconds, defaults to 10.
GRAPHITE_HOST - host where carbon is listening for data.
GRAPHITE_PORT - port where carbon is listening for data, 2003 by default.
GRAPHITE_PREFIX - prefix for metrics in graphite, collectd. by default.
APP_LABEL_KEY - container label to use for app name, collectd_docker_app by default.
APP_ENV_KEY - container environment variable to use for app name, COLLECTD_DOCKER_APP by default.
TASK_LABEL_KEY - container label to use for task name, collectd_docker_task by default.
TASK_ENV_KEY - container environment variable to use for task name, COLLECTD_DOCKER_TASK by default.

so I add COLLECTD_DOCKER_APP ,COLLECTD_DOCKER_TASK environment variables
but it still exit after running.
any idea about this?
thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant