Created
January 12, 2016 21:59
-
-
Save kunickiaj/42c9a24c704b5980182d to your computer and use it in GitHub Desktop.
StreamSets Data Collector JMX Monitoring Docker Compose Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datacollector: | |
image: 'streamsets/datacollector:1.1.4' | |
environment: | |
- 'SDC_JAVA_OPTS=-Dcom.sun.management.jmxremote.port=1105 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false' | |
expose: | |
- '1105' | |
ports: | |
- '18630:18630' | |
grafana: | |
image: 'grafana/grafana:latest' | |
links: | |
- influxdb | |
ports: | |
- '3000:3000' | |
influxdb: | |
image: 'tutum/influxdb:0.9' | |
environment: | |
- 'GRAPHITE_BINDING=:2003' | |
- GRAPHITE_DB=grafana | |
- GRAPHITE_PROTOCOL=tcp | |
- PRE_CREATE=grafana | |
expose: | |
- '2003' | |
- '8084' | |
ports: | |
- '8083:8083' | |
- '8086:8086' | |
jmxtrans: | |
image: 'kunickiaj/jmxtrans:jmxdemo' | |
environment: | |
- JMXTRANS_GRAPHITE_HOST=influxdb | |
- JMXTRANS_GRAPHITE_PORT=2003 | |
- JMXTRANS_JMX_HOST=datacollector | |
- JMXTRANS_JMX_PORT=1105 | |
links: | |
- datacollector | |
- influxdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess that you need to add a volume to the jmxtrans image so you can load you json for jmxtrans, something like this
volumes:
- /tmp/jmxtrans:/opt/jmxtrans/conf