add jmxtrans

This commit is contained in:
kev 2018-10-25 16:10:22 +08:00
parent b1042969ea
commit 5059fb1ff5
3 changed files with 24 additions and 0 deletions

View File

@ -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

17
jmxtrans/README.md Normal file
View File

@ -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

View File

@ -0,0 +1,6 @@
jmxtrans:
image: jmxtrans/jmxtrans
command: start-without-jmx
volumes:
- ./data:/var/lib/jmxtrans
restart: always