I use Nagios for monitoring - and watch NPRE for various monitoring in this box. I have several java processes - it would be nice to โlook into themโ through JMX, etc. I donโt see a way to do this without starting the JVM and not connecting remotely?
Any ideas?
I believe that you can connect to JMX services through RMI-IIOP , which I believe is CORBA for Java. I believe this means that you can use any COBRA client to connect to the Java RMI-IIOP service. Check out JBoss IIOP , which does what you want, I believe, for JBoss only.
Perhaps it would be easier to just port the JMX services you want to export using JAX-WS or JAX-RS (i.e. as web services)? You can then use plain ol HTTP to access what you want.
In fact, it seems that someone did just that ! I assume you would like to access something like:
http://<host>:<port>/rest/jmx/java.lang:type=Memory/NonHeapMemoryUsage/commited
The whole project is available at https://opendmk.dev.java.net/contributions/rest-adaptor/readme.html :
JMXOpenDMK HTTP- JMX RestFul . , JMX NetBeans, .
JMX
OpenDMK HTTP- JMX RestFul . , JMX NetBeans, .
( ?) https://ws-jmx-connector.dev.java.net/
JMX Nagios jmx4perl - , Nagios Plugin check_jmx4perl. Jolokia, , JMX JSON/HTTP , , JSR-160. , REST, , 2008 ( jmx4perl 2009 ). BTW, JSR-262 " - Java (JMX)", , "" , .
Source: https://habr.com/ru/post/1762390/More articles:PHP PEAR Validate Package - Fatal Error: Class 'Validate' not found - phpPHP: using a shorter tag will not work - phpSecure write from mongodb shell - mongodbInstall JRebel in Rational SW Architect (Eclipse) - eclipseHow to decode Get / Post Request headers in tuples using Cherry Py? - pythonCan I get an array with jQuery $ .post? - jqueryImplements open source projects with best practices and / or code standards? - ruby โโ| fooobar.comWhy jQuery Form Plugin mixes NULL and 0 - jqueryHow to correctly determine the width of an attribute string - objective-chow to read (default) value in registry key in VBScript / JScript - wshAll Articles