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

Python script returns nothing #3

Open
monimail opened this issue May 14, 2018 · 0 comments
Open

Python script returns nothing #3

monimail opened this issue May 14, 2018 · 0 comments

Comments

@monimail
Copy link

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.

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