You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 :
Any ideas ? Thanks.
The text was updated successfully, but these errors were encountered: