Giter Site home page Giter Site logo

Comments (5)

maoerniu avatar maoerniu commented on August 22, 2024

配置文件jmx.ports配置的是你要监控的java进程的端口,如果多个进程可以配置多个

from jmxmon.

maoling avatar maoling commented on August 22, 2024

配置文件jmx.ports配置的是你要监控的java进程对外暴露的端口。首先java程序要先暴露jmx,比如:
nohup java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.19.18.666 -Xmx6g -Xms2g -jar ooxx-1.0-SNAPSHOT.jar &

from jmxmon.

dingmy002 avatar dingmy002 commented on August 22, 2024

我也碰到这个问题了,请问解决了吗?
我namenode开启了jmx,listen的是内网ip:50070,但是从报错日志上看是默认走localhost:50070,请问下怎么配置ip:port格式的参数

from jmxmon.

maoling avatar maoling commented on August 22, 2024

@dingmy002
配置一下 /etc/hosts
e.g 10.23.45.67 conf-center_002

from jmxmon.

myh4905 avatar myh4905 commented on August 22, 2024

请仔细查看你的/etc/hosts,我的也是这个问题,不过我的是localhost写成126.0.0.1了,我改过来就好了。
你的问题应该也跟hosts文件有关

from jmxmon.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.