Page 1 of 1

Nagios11 -Tomcat monitoring issue

Posted: Tue Jan 11, 2022 7:33 am
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 .......

Re: Nagios11 -Tomcat monitoring issue

Posted: Tue Jan 11, 2022 4:24 pm
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

Re: Nagios11 -Tomcat monitoring issue

Posted: Wed Jan 12, 2022 3:47 am
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

Re: Nagios11 -Tomcat monitoring issue

Posted: Wed Jan 12, 2022 3:10 pm
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

Re: Nagios11 -Tomcat monitoring issue

Posted: Sat Jan 29, 2022 8:12 am
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

Re: Nagios11 -Tomcat monitoring issue

Posted: Mon Jan 31, 2022 11:34 am
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!