Skip to content

Python script returns nothing #3

@monimail

Description

@monimail

Hello,

I have Kafka running inside a docker container. I have linked a local folder using -v option, containing the jolokia JAR file.
I have also set the environment variable KAFKA_OPTS to give the JAR location as well as the host & port to bind/listen to.

However, with all this set up, the python script returns nothing. When I run it directly with the IP address of the container and port 8778, I get no output, and telegraf logs say :

2018-05-14T12:49:25Z E! Error in plugin [inputs.exec]: exec: Command timed out. for command 'python /home/monimail/kafka_jolokia_reporter.py --jolokia-host 172.17.0.2 --jolokia-port 8778'

Any ideas ? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions