sivasamyk / graylog-plugin-input-jmx

JMX Monitor Input Plugin for Graylog
MIT License
15 stars 4 forks source link

how to monitor in docker? #6

Closed link-unigo closed 2 years ago

link-unigo commented 5 years ago

I run a java programe in docker with command: java \ -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=12345 \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.jmxremote.ssl=false \ -jar /root/graylog/log-demo.jar

and the confiuration in graylog: configCustomFilePath: <empty> configHosts: 192.168.10.17 configInterval: 1 configIntervalUnit: SECONDS configLabel: java configPassword: ******** configPort: 12345 configType: jvm.json configUsername: <empty> decompress_size_limit: 8388608 override_source: <empty>

but i cannot get the log with graylog.can you help me?

sivasamyk commented 4 years ago

@finalshrey Hope you have figured this out. If yes, I will close this.