From 5059fb1ff5ce20877cdf8b344bf5d9f7666f6846 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 25 Oct 2018 16:10:22 +0800 Subject: [PATCH] add jmxtrans --- README.md | 1 + jmxtrans/README.md | 17 +++++++++++++++++ jmxtrans/docker-compose.yml | 6 ++++++ 3 files changed, 24 insertions(+) create mode 100644 jmxtrans/README.md create mode 100644 jmxtrans/docker-compose.yml diff --git a/README.md b/README.md index faeb97f..61ebda4 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ A collection of delicious docker recipes. - [ ] python - [x] gogs :cn: - [x] haproxy +- [x] jmxtrans/jmxtrans - [x] wurstmeister/kafka - [x] nextcloud - [x] jazzdd/phpvirtualbox diff --git a/jmxtrans/README.md b/jmxtrans/README.md new file mode 100644 index 0000000..2fc7ef3 --- /dev/null +++ b/jmxtrans/README.md @@ -0,0 +1,17 @@ +jmxtrans +======== + +[jmxtrans][1] is very powerful tool which uses easily generated JSON (or YAML) based +configuration files and then outputs the data in whatever format you desire. It +does this with a very efficient engine design that will scale to communicating +with thousands of machines from a single jmxtrans instance. + +## Using yaml2jmxtrans configuration converter (only support graphite) + +```bash +$ wget https://github.com/jmxtrans/jmxtrans/raw/master/jmxtrans/tools/yaml2jmxtrans.py +$ chmod +x yaml2jmxtrans.py +$ ./yaml2jmxtrans.py config.yaml +``` + +[1]: https://github.com/jmxtrans/jmxtrans diff --git a/jmxtrans/docker-compose.yml b/jmxtrans/docker-compose.yml new file mode 100644 index 0000000..afc3cee --- /dev/null +++ b/jmxtrans/docker-compose.yml @@ -0,0 +1,6 @@ +jmxtrans: + image: jmxtrans/jmxtrans + command: start-without-jmx + volumes: + - ./data:/var/lib/jmxtrans + restart: always