I went through the Configuration Wizard for JBoss/Wildfly. Placed the check_jvm.jar in the /usr/local/ncpa/plugins folder of our remote server.
Code: Select all
-rwxr-xr-x. 1 nagios nagios 49K Jun 19 08:32 check_jvm.jar
Code: Select all
.jar = java -Djava.class.path=/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:$plugin_name GenericASCheck $plugin_args
UNKNOWN: Failed to connect: Operation failed with status WAITING
The check arguments seem correct:
-t TOKEN-P 5693 -M plugins/check_jvm.jar -q "args=-s service:jmx:remote+http://SERVER:PORT,args=-u 'USERNAME',args=-p 'PASSWORD',args=-t jboss,args=-C 'MemorySimpleHeap,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,Uptime',args=-w '17179869184,34359738368,50,70,1500000:',args=-c '32212254720,68719476736,70,90,300000:'"
I don't know if part of the problem is that the password has a special character in it, but the GUI automatically escaped the special character with a \
Any help would be appreciated. This is our first time monitoring Wildfly and need to get it setup in a hurry.