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

Error in docker plugin: invalid integer. #58

Closed
anarcher opened this issue Jul 10, 2015 · 2 comments
Closed

Error in docker plugin: invalid integer. #58

anarcher opened this issue Jul 10, 2015 · 2 comments
Labels
bug unexpected problem or unintended behavior

Comments

@anarcher
Copy link

Error in plugins: unable to parse 'docker_memory_limit,command=/opt/telegraf/telegraf\ -config\ /opt/telegraf/telegraf.toml,host=ebfbff1ca0aa,id=ebfbff1ca0aa8a6b047bdc038ed0d14cfba8495f9f4eca1ce0d588c2cb1bd051,name=/influxdb09telegraf01_telegraf_run_4 value=18446744073709551615': invalid integer

I am not sure that value is right or not. It is too long for int. But telegraf seems like that can't send metrics to influxdb. Maybe cause of this error.

I ran and tested telegraf on docker container. Is it not good for gathering metrics?

FROM ubuntu:14.04
RUN apt-get -y install wget
RUN wget http://get.influxdb.org/telegraf/telegraf_0.1.4_amd64.deb 
RUN dpkg -i telegraf_0.1.4_amd64.deb
ADD ./telegraf.toml /opt/telegraf/
WORKDIR /opt/telegraf
CMD ["/opt/telegraf/telegraf","-config","/opt/telegraf/telegraf.toml"]

telegraf:
    build: .
    dockerfile: telegraf.Dockerfile
    volumes: 
        - /sys:/sys:ro
        - /var/run/docker.sock:/var/run/docker.sock
@sparrc sparrc added the bug unexpected problem or unintended behavior label Aug 5, 2015
@sparrc
Copy link
Contributor

sparrc commented Aug 5, 2015

Adding a bug label, will investigate

sparrc pushed a commit that referenced this issue Sep 11, 2015
@sparrc
Copy link
Contributor

sparrc commented Sep 17, 2015

I'm marking this as closed by PR #180, please re-open if that did not fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants