Configuration Wizard: Apache Tomcat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
iboyd
Posts: 2
Joined: Thu Apr 06, 2017 10:53 am

Configuration Wizard: Apache Tomcat

Post by iboyd »

When using the "Configuration Wizard: Apache Tomcat" for JMX a message at the bottom of the screen stated (see Tomcat_plugin_1.PNG):
To access the JMX ports directly from this server, please install Java.
You will also need to edit the CCM command definition for check_xi_java_as to include the absolute path of the java binary.

I am unable to find "check_xi_java_as" in "manage plugins". Do I need to install something or am I looking in the correct location?

Also once Java was installed the message went away (see Tomcat_plugin_2.PNG).
You do not have the required permissions to view the files attached to this post.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Configuration Wizard: Apache Tomcat

Post by pbroste »

Hello @iboyd

Thanks for reaching out, the 'check_xi_java_as' string looks like this and can be found in the 'Core Configuration Manager' > [Commands] > use the search box on the upper-right (example; check_xi) and should be listed. If it is not please let us know. The command will look like the following:

Code: Select all

JAVA_ABS_PATH -Djava.class.path=$ARG2$:$USER1$/check_jvm.jar GenericASCheck $ARG1$
For $ARG2 you will define the java.class.path.

Thanks,
Perry
iboyd
Posts: 2
Joined: Thu Apr 06, 2017 10:53 am

Re: Configuration Wizard: Apache Tomcat

Post by iboyd »

I have added the path to the "check_xi_java_as command". We are getting an error of:
"(No output on stdout) stderr: execvp(JAVA_ABS_PATH, ...) failed. errno is 2: No such file or directory".

It appears the value isn't being read as this is the same error that came up prior to adding the absolute path to the "check_xi_java_as command". Is there something else that needs to be configured?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuration Wizard: Apache Tomcat

Post by tgriep »

A ticket was opened for this so we will be closing this post and answering the ticket.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked