I created a new monitored host and services and some of the services (specifically yum, memory, and CPU) are coming back "Unknown: NRPE: Unable to read output".
I have tried the following:
checked the client nrpe.cfg file:
Code: Select all
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 172.16.17.95
}
Code: Select all
-rwx------. 1 root root 3060 Jun 23 14:24 custom_check_memCode: Select all
Defaults:nagios !requiretty
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/custom_check_memCode: Select all
Memory Usage;UNKNOWN;SOFT;3;NRPE: Unable to read output