I followed your PDF Guide to configure Wildfly Monitoring via the NCPA Client.
Sadly I am not able to get any Values into Nagios XI.
Everytime I run the Check from the Nagios XI Server i get this as response:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H ###MYIP#### -t ####MyTOKEN#### -P 5693 -M plugins/check_jvm.jar -q "args=-s service:jmx:http-remoting-jmx://###CorrectIPANDPORT#####,args=-u '##JbossUser###',args=-p '##JbossUserPsw###',args=-t jboss,args=-C 'MemorySimpleHeap,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,Uptime,ClassCount,ThreadCount',args=-w '17179869184,34359738368,50,70,1500000:,10000,150',args=-c '32212254720,68719476736,70,90,300000:,50000,190'"
Fehler: Hauptklasse GenericASCheck konnte nicht gefunden oder geladen werden
The NCPA Client on the Machine is set like described in the PDF Tutorial and added the following line to the ncpa.cfg and the check_jvm.jar Plugin has been placed in the plugins folder of the ncpa client.
Code: Select all
.jar = java -Djava.class.path=C:\wildfly\bin\client\jboss-cli-client.jar:$plugin_name GenericASCheck $plugin_args
When using Visual VM on the VM itself I can connect via JMX with no Problem to the Wildfly.
Our Wildfly is running on a Windows Machine.
Any help is highly appreciated
Kind regards
Daniel