Search found 26 matches

by pmoradiya
Mon Dec 18, 2017 8:52 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

Ya. I agree with your notes here.
Thanks a lot for all the support to get through this issue. I think this thread can be closed.
by pmoradiya
Thu Dec 07, 2017 11:07 am
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

Thanks @tgriep for the detailed information and sharing simulation results. Coincidentally, NRPE started working through the same NRPE cleanup steps ( https://support.nagios.com/kb/article/nrpe-how-to-uninstall-nrpe.html#Ubuntu ) and installation steps that I had run previously (many times). I still...
by pmoradiya
Fri Dec 01, 2017 1:48 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

Thanks @npolovenko. I also agree with you. I tried changing tomcat8 user with /bin/bash shell access and restarted nrpe. Unfortunately the result didn't change. tomcat8:x:112:116::/usr/share/tomcat8:/bin/bash # /usr/local/nagios/libexec/check_nrpe -H localhost -c check_tomcat_threads UNKNOWN Can't c...
by pmoradiya
Fri Dec 01, 2017 10:03 am
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

The cfg file doesn't have backslash on my server. It would have been some format change when i pasted in the txt file here. Regarding change in command as suggested, returned the following error the command is to be run as tomcat8 user. # /usr/local/nagios/libexec/check_nrpe -H localhost -c check_to...
by pmoradiya
Thu Nov 30, 2017 1:21 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

pmoradiya , Are you able just to run the following command as Nagios user? /usr/local/nagios/libexec/check_jvm -n org.apache.catalina.startup.Bootstrap -p threads -w 195 -c 225 Can you also run and post the output ps -ef and netstat -anp | grep 5666 on the server where you had to reinstall nrpe in ...
by pmoradiya
Tue Nov 28, 2017 9:55 am
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

tmcdonald wrote:Glad to hear it! Are we okay to close this thread?
This could have been closed but the same issue persists in other servers. Above steps somehow fixed the issue on one set of servers but the others still have the same issue.

Will really appreciate your suggestions.
by pmoradiya
Wed Nov 22, 2017 3:29 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

pmoradiya , So the JVM plugin finally started to work? 8-) JVM plugin was always working outside NRPE. Somehow NRPE was not able to work. But with reinstallation and an odd-addition of removing/installing xinetd in between did the trick. Don't know how. Thank you all for the great and quick support...
by pmoradiya
Tue Nov 21, 2017 12:27 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

pmoradiya , Sounds good, keep us updated! Here are the updates: Bad News first. Performed clean uninstall of NRPE v3.2.1 and tried installing v2.x Got issues with installing 2.x with some ssl errors although openssl and libssl-dev were already installed The Good News After clean uninstall of v3.2.1...
by pmoradiya
Fri Nov 17, 2017 5:13 pm
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

pmoradiya , In your first post you mentioned that this exact plugin works just fine on another client servers. Let's assume for now that it is the NRPE compatibility issue. Can you check what version of NRPE do the other servers have? nrpe -V You could remove the new nrpe client from the servers us...
by pmoradiya
Fri Nov 17, 2017 10:57 am
Forum: Open Source Nagios Projects
Topic: NRPE: UNKNOWN Can't connect to the JVM
Replies: 35
Views: 19007

Re: NRPE: UNKNOWN Can't connect to the JVM

For this reason, you might also try specifying a shell in your command definition: /usr/bin/sudo -u tomcat8 bash /usr/local/nagios/libexec/check_jvm -n org.apache.catalina.startup.Bootstrap -p threads -w 195 -c 225 # or /usr/bin/sudo -u tomcat8 sh /usr/local/nagios/libexec/check_jvm -n org.apache.c...