Search found 21 matches

by rahul.srivastava1
Tue Mar 14, 2017 2:26 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, I checked and confirm that firewall settings are in place from nagios server to 168.162.97.143 for port 5666 and 7780. -bash-4.1# telnet 168.162.97.143 5666 Trying 168.162.97.143... Connected to 168.162.97.143. Escape character is '^]'. -bash-4.1# telnet 168.162.97.143 7780 Trying 168.162.97.143...
by rahul.srivastava1
Mon Mar 13, 2017 3:09 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, I tried the other option that you suggested i.e. running the check_jmx plugin from the nagios server. I got this error: bash-4.1# ./check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O jboss.system:type=ServerInfo -A TotalMemory -w 3247300864 -c 3251495168 JMX CRITICAL - Erro...
by rahul.srivastava1
Tue Mar 07, 2017 2:20 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, su nagiois [nagios@ssb-voor-01]:~ $ /apps/nagios/libexec/nagios-jmx-plugin-1.2.3/check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O jboss.system:type=ServerInfo -A TotalMemory -w 3247300864 -c 3251495168 JMX OK - TotalMemory = 3147300864 | 'TotalMemory'=3147300864;324730086...
by rahul.srivastava1
Mon Mar 06, 2017 2:23 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, Here are the outputs: 1. cat /apps/nagios/libexec/nagios-jmx-plugin-1.2.3/check_jmx #!/bin/sh # # Nagios JMX plugin. # JAVA_CMD=`which java` if [ -z $JAVA_CMD ] then if [ -x $JAVA_HOME/bin/java ] then JAVA_CMD=$JAVA_HOME/bin/java else echo JMX CRITICAL - java not found. exit 2 fi fi DIR=`dirname...
by rahul.srivastava1
Fri Mar 03, 2017 8:29 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Seems like i am unable to upload check_jmx file. It has FILE extension.
by rahul.srivastava1
Fri Mar 03, 2017 8:27 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, I am attaching the check_jmx and jmx.cfg files from /apps/nagios/libexec/nagios-jmx-plugin-1.2.3 path. Syslog only shows the below: ssb-voor-01 nrpe[18471]: [ID 927837 mail.info] connect from ssbpops01.ssb.sungard.com here ssb-voor-01 is our remote server and ssbpops01.ssb.sungard.com is ournagi...
by rahul.srivastava1
Thu Mar 02, 2017 2:16 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi,

I am attaching the nrpe.cfg and ls.txt files from the remote server.

Also,i have gone through the documents which you suggested. It did not solve our issue.
We are struggling with this one command. Others are working fine.



Regards,
Rahul
by rahul.srivastava1
Tue Feb 28, 2017 11:01 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, There was a confusion initially. I am indeed using the below command in the nrpe.cfg. /apps/nagios/libexec/nagios-jmx-plugin-1.2.3/check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O jboss.system:type=ServerInfo -A TotalMemory -w 3247300864 -c 3251495168 This is running on t...
by rahul.srivastava1
Mon Feb 27, 2017 5:05 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, The above command that i ran was from the remote server. I would like to share that the nagios server is not reading the output. See below, when i try to run the command from nagios server to this remote server, i get this: -bash-4.1# ./check_nrpe -H 168.162.97.143 -c check_jmxmemory NRPE: Unabl...
by rahul.srivastava1
Mon Feb 27, 2017 4:38 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 23
Views: 8158

Re: NRPE: Unable to read output

Hi, Here is the output when i run through nagios user. [nagios@ssb-voor-01]:~ $ /apps/nagios/libexec/nagios-jmx-plugin-1.2.3/check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O echos.service:name=Email-Service,type=service -A Status -c "^Started.*|Disabled.*" JMX OK - ...