Nagios11 -Tomcat monitoring issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ManishRezo1
Posts: 4
Joined: Mon Jan 10, 2022 11:10 am

Nagios11 -Tomcat monitoring issue

Post by ManishRezo1 »

(No output on stdout) stderr: /bin/sh: 1: Syntax error: Unterminated quoted string



while monitoring tomcat 8 with nagios xi this is the error message .Any solution for this .......
User avatar
kfanselow
Posts: 247
Joined: Tue Aug 31, 2021 3:25 pm

Re: Nagios11 -Tomcat monitoring issue

Post by kfanselow »

Hi Manish,

Could you provide some more information on the problem ? Is this a new configuration or was it working previously ? What specifically were you doing and/or where did the error occur ?

The error message being returned is "Unterminated quoted string"

Thanks and Best Regards,
Keith
ManishRezo1
Posts: 4
Joined: Mon Jan 10, 2022 11:10 am

Re: Nagios11 -Tomcat monitoring issue

Post by ManishRezo1 »

that was a file error . I was trying it ,without tomcat plugin .
New error I am Facing while connecting tomcat 9 with nagios 11 is .....

(No output on stdout) stderr: execvp(JAVA_ABS_PATH, ...) failed. errno is 2: No such file or directory
User avatar
kfanselow
Posts: 247
Joined: Tue Aug 31, 2021 3:25 pm

Re: Nagios11 -Tomcat monitoring issue

Post by kfanselow »

Hi Manish,

Are you setting up the check using the Apache Tomcat configuration wizard (Config {top} -> Configuration Wizard -> search for tomcat) ?

Thanks and Best Regards,
Keith
You do not have the required permissions to view the files attached to this post.
ManishRezo1
Posts: 4
Joined: Mon Jan 10, 2022 11:10 am

Re: Nagios11 -Tomcat monitoring issue

Post by ManishRezo1 »

Yes i was doing the same .

But the problem was in java export path

By doing this ---

export JAVA_ABS_PATH=/usr/bin/java
source .profile


I t solved my problem
.

Thanks for the reply
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios11 -Tomcat monitoring issue

Post by ssax »

That's great to hear! Let us know when we're okay to lock this up and mark it as resolved.

Thank you!
Locked