First, an idea of the environment: 27 RHEL servers, predominantly physical but transitioning over to virtual Soon™. I have two servers running RHEL 6.4, one running RHEL 6.5, one running RHEL 6.6, and the rest are running RHEL 6.7.
The problem server is a physical server running RHEL 6.5.
I am running Nagios Core 4.1.1 and NRPE is v2.15.
Each of the servers runs the following plugins (installed via the EPEL repo): check_users, check_load, check_swap, check_disk, check_procs, check_uptime, and check_mem.
The problem is the check_mem plugin only. I am getting the "NRPE: Unable to read output" error. This is the only error on the server. I've checked permissions, I've checked the commands, and I've gotten to the point where I want to slowly bounce my head off the desk.
Here is the information I think you may need. Please, let me know if there is more that is required:
Output of running the command from the /etc/nagios/nrpe.cfg file
Code: Select all
/usr/lib64/nagios/plugins # /usr/lib64/nagios/plugins/check_mem -f -w 20 -c 10
CRITICAL - 1.0% (36948 kB) free!|TOTAL=3882020KB;;;; USED=3845072KB;3105616;3493818;; FREE=36948KB;;;; CACHES=3520712KB;;;;
Code: Select all
/usr/lib64/nagios/plugins # /usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1
NRPE v2.15
Code: Select all
-rwxr-xr-x. 1 root root 22256 Sep 18 2015 check_nrpe
-rwxr-xr-x. 1 root root 13429 Mar 30 15:57 check_mem
Code: Select all
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Code: Select all
Apr 3 03:40:01 <server> rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1945" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Apr 3 03:40:02 <server> rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Apr 3 09:19:01 <server>auditd[1904]: Audit daemon rotating log files
Apr 4 03:49:02 <server>rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with the Customer Portal. Please enter your Red Hat login to ensure your system is up-to-date.
Apr 4 08:05:27 <server>nrpe[45446]: Error: Could not complete SSL handshake. 5