Page 2 of 2
Re: Wildfly Monitoring with NCPA Client
Posted: Mon Aug 31, 2020 4:08 am
by DanielKissel
Tried it out and copied the check_jvm.jar to the Users Profile and changed the check in the ncpa.cfg
These are the two Checks i tried
Code: Select all
.jar = java -cp "E:\wildfly\bin\client\jboss-cli-client.jar;C:\Users\wildfly\check_jvm.jar" GenericASCheck $plugin_args
-> Resulting in -> UNKNOWN: Failed to connect: Unsupported protocol: http-remoting-jmx
and then I tried
Code: Select all
.jar = java -cp "E:\wildfly\bin\client\jboss-cli-client.jar:C:\Users\wildfly\check_jvm.jar" GenericASCheck $plugin_args
-> Resulting in -> Fehler: Hauptklasse GenericASCheck konnte nicht gefunden oder geladen werden -> Main Class not found...
Same results as before sadly
Re: Wildfly Monitoring with NCPA Client
Posted: Mon Aug 31, 2020 6:00 pm
by ssax
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
Re: Wildfly Monitoring with NCPA Client
Posted: Mon Aug 31, 2020 6:03 pm
by cdienger
It's having issues loading both locations for some reason. Try copying check_jvm.jar to the E:\wildfly\bin\client\ directory and then change the config to look like:
Code: Select all
jar = java -cp "E:\wildfly\bin\client\" GenericASCheck $plugin_args
Re: Wildfly Monitoring with NCPA Client
Posted: Thu Sep 03, 2020 12:24 am
by DanielKissel
cdienger wrote:It's having issues loading both locations for some reason. Try copying check_jvm.jar to the E:\wildfly\bin\client\ directory and then change the config to look like:
Code: Select all
jar = java -cp "E:\wildfly\bin\client\" GenericASCheck $plugin_args
I will try this and give feeback here. If this doesn't work i will open a ticket as suggested.
Thank you both for the help!
Kind regards
Daniel
Re: Wildfly Monitoring with NCPA Client
Posted: Thu Sep 03, 2020 1:41 am
by DanielKissel
cdienger wrote:It's having issues loading both locations for some reason. Try copying check_jvm.jar to the E:\wildfly\bin\client\ directory and then change the config to look like:
Code: Select all
jar = java -cp "E:\wildfly\bin\client\" GenericASCheck $plugin_args
Just tried this and the Results stay the same...
Resulting in -> Fehler: Hauptklasse GenericASCheck konnte nicht gefunden oder geladen werden -> Main Class not found...
Re: Wildfly Monitoring with NCPA Client
Posted: Thu Sep 03, 2020 2:00 am
by DanielKissel
Ticket was created
Re: Wildfly Monitoring with NCPA Client
Posted: Thu Sep 03, 2020 6:47 am
by scottwilkerson
DanielKissel wrote:Ticket was created
Great
Moving to ticket
Locking thread