Wildfly Monitoring with NCPA Client

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
DanielKissel
Posts: 14
Joined: Thu Aug 30, 2018 5:03 am

Re: Wildfly Monitoring with NCPA Client

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Wildfly Monitoring with NCPA Client

Post 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!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Wildfly Monitoring with NCPA Client

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
DanielKissel
Posts: 14
Joined: Thu Aug 30, 2018 5:03 am

Re: Wildfly Monitoring with NCPA Client

Post 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
DanielKissel
Posts: 14
Joined: Thu Aug 30, 2018 5:03 am

Re: Wildfly Monitoring with NCPA Client

Post 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...
DanielKissel
Posts: 14
Joined: Thu Aug 30, 2018 5:03 am

Re: Wildfly Monitoring with NCPA Client

Post by DanielKissel »

Ticket was created
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Wildfly Monitoring with NCPA Client

Post by scottwilkerson »

DanielKissel wrote:Ticket was created
Great

Moving to ticket

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked