Page 2 of 4
Re: Linux NRPE: unable to read output
Posted: Wed Dec 30, 2015 10:56 am
by lmiltchev
I am not able to reproduce the issue. I installed the linux agent (NRPE + nagios plugins) on RHEL 6 and everything is working as expected.
Code: Select all
[root@rhel61x64 linux-nrpe-agent]# uname -a
Linux rhel61x64 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@rhel61x64 linux-nrpe-agent]# cat /etc/*release
Red Hat Enterprise Linux Server release 6.7 (Santiago)
example01.PNG
What document did you follow when installing the Linux agent? Was it this one?
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Can you post the entire "
/tmp/linux-nrpe-agent/install.log"?
Run the following commands on the remote box (client) and show us the output:
Code: Select all
/usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
/usr/local/nagios/libexec/custom_check_mem -n -w 20 -c 10
Re: Linux NRPE: unable to read output
Posted: Mon Jan 04, 2016 3:58 pm
by dlukinski
lmiltchev wrote:I am not able to reproduce the issue. I installed the linux agent (NRPE + nagios plugins) on RHEL 6 and everything is working as expected.
Code: Select all
[root@rhel61x64 linux-nrpe-agent]# uname -a
Linux rhel61x64 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@rhel61x64 linux-nrpe-agent]# cat /etc/*release
Red Hat Enterprise Linux Server release 6.7 (Santiago)
example01.PNG
What document did you follow when installing the Linux agent? Was it this one?
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Can you post the entire "
/tmp/linux-nrpe-agent/install.log"?
Run the following commands on the remote box (client) and show us the output:
Code: Select all
/usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
/usr/local/nagios/libexec/custom_check_mem -n -w 20 -c 10
Posting one of two install logs. (not yet check command results, no access at a moment)
Re: Linux NRPE: unable to read output
Posted: Mon Jan 04, 2016 5:01 pm
by hsmith
Please let us know what the commands look like when you have access to check.
Thanks.
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 10:38 am
by dlukinski
hsmith wrote:Please let us know what the commands look like when you have access to check.
Thanks.
Here you. Check_CPU outputs and second log file
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 10:46 am
by hsmith
Can you post the contents of
/etc/xinetd.d/nrpe from the machine here?
Also, can you please answer Ludmil's question he asked a couple posts ago:
lmiltchev wrote:
What document did you follow when installing the Linux agent? Was it this one?
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 10:58 am
by dlukinski
hsmith wrote:Can you post the contents of
/etc/xinetd.d/nrpe from the machine here?
Also, can you please answer Ludmil's question he asked a couple posts ago:
lmiltchev wrote:
What document did you follow when installing the Linux agent? Was it this one?
We followed your PDF (Believe it was you who provided one) for installing Linux Agent (closed support case under my name)
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 11:36 am
by hsmith
Thank you for the clarification. Please let me know when you have the xinetd nrpe file for us to take a look at.
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 12:38 pm
by dlukinski
hsmith wrote:Thank you for the clarification. Please let me know when you have the xinetd nrpe file for us to take a look at.
Please check the screenshots for /etc/xinetd.d/nrpe content (attached)
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 12:51 pm
by hsmith
You said this is happening for scripts other than the CPU one? I believe the reason the CPU one is freaking out is because of the integer thing that it is yelling about, and that's too much data for NRPE to handle.. Can you try some other things like check_yum? I know you said they're failing, but I would like to see it.
Re: Linux NRPE: unable to read output
Posted: Tue Jan 05, 2016 1:01 pm
by dlukinski
hsmith wrote:You said this is happening for scripts other than the CPU one? I believe the reason the CPU one is freaking out is because of the integer thing that it is yelling about, and that's too much data for NRPE to handle.. Can you try some other things like check_yum? I know you said they're failing, but I would like to see it.
\
Attached screenshot of what is failing (same for both RHEL EL 6.4 64-bit we tried the latest client with)