Hi,
this is not my problem..Are you sure nagios can monitoring Wildfly 14 with Java 10?
Regards
Monitoring Wildfly 14 and Java 10
Re: Monitoring Wildfly 14 and Java 10
Is the WildFly instance running in Domain Mode?
I've done this for JBoss, WebLogic, Tomcat, as well as vanilla Java applications running without a specific AS:
https://support.nagios.com/forum/viewto ... 60#p230360
The core JMX API hasn't changed fundamentally in quite some time. The trick has always been configuring a specific AS to accept generic JMX connections -- whether that be WildFly, GlassFish, WebLogic, whatever, most of them have their own conventions for brokering those connections to the underlying application(s) they are hosting.
I unfortunately don't have a ton of free time to lab this up, but for the bulk of JBoss instances I've worked with you're just adding the vanilla JMX properties to your core Java runtime:
Or, for individual application start-up scripts, a specific port per application.
I've done this for JBoss, WebLogic, Tomcat, as well as vanilla Java applications running without a specific AS:
https://support.nagios.com/forum/viewto ... 60#p230360
The core JMX API hasn't changed fundamentally in quite some time. The trick has always been configuring a specific AS to accept generic JMX connections -- whether that be WildFly, GlassFish, WebLogic, whatever, most of them have their own conventions for brokering those connections to the underlying application(s) they are hosting.
I unfortunately don't have a ton of free time to lab this up, but for the bulk of JBoss instances I've worked with you're just adding the vanilla JMX properties to your core Java runtime:
Code: Select all
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=%my.jmx.port%
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=falseFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wildfly 14 and Java 10
Thanks mcapra
additionally for this plugin you will likely need to specify the following for the plugin to work
additionally for this plugin you will likely need to specify the following for the plugin to work
Code: Select all
-Dcom.sun.management.jmxremote.rmi.port=9990Re: Monitoring Wildfly 14 and Java 10
Hi mcapra,
The instance was running in standard mode.. I tested in domain mode and it`s working..At the moment, i cannot use domain mode.. With standard, is not possible use jmx???
Thanks for advanced
The instance was running in standard mode.. I tested in domain mode and it`s working..At the moment, i cannot use domain mode.. With standard, is not possible use jmx???
Thanks for advanced
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring Wildfly 14 and Java 10
This is definitely beyond my knowledge in JMX, @mcapra do you happen to know if it can be used in standalone mode?