CHECK_NRPE: Error receiving data from daemon
Posted: Fri Aug 11, 2017 3:08 am
Hi guys,
I installed Nagios Core 4.3.2 server and client. In client when i try to execute this : /usr/local/nagios/libexec/check_nrpe -H localhot -n, the answer is this CHECK_NRPE: Error receiving data from daemon.
I have revised:
-firewall/iptables: it's desactivated
- nrpe.cfg:
#server_address=127.0.0.1
]nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=127.0.0.1
- user and group
nagios
500:500::/home/nagios:/bin/bash
nagios
500:
drwxrwxr-x. 2 nagios nagios 4096 ago 10 13:41 libexec
drwxrwxr-x. 2 nagios nagios 4096 ago 10 13:52 etc
-rw-r--r--. 1 nagios nagios 7,9K ago 10 13:49 nrpe.cfg
-xinetd
[root@SrvNagiosCore-cliente xinetd.d]# cat nrpe.xinetd
# 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 = 127.0.0.1 192.168.100.67
}
I can't find the cause of problem.
Best regards!
Someone can help me?
I installed Nagios Core 4.3.2 server and client. In client when i try to execute this : /usr/local/nagios/libexec/check_nrpe -H localhot -n, the answer is this CHECK_NRPE: Error receiving data from daemon.
I have revised:
-firewall/iptables: it's desactivated
- nrpe.cfg:
#server_address=127.0.0.1
]nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=127.0.0.1
- user and group
nagios
nagios
drwxrwxr-x. 2 nagios nagios 4096 ago 10 13:41 libexec
drwxrwxr-x. 2 nagios nagios 4096 ago 10 13:52 etc
-rw-r--r--. 1 nagios nagios 7,9K ago 10 13:49 nrpe.cfg
-xinetd
[root@SrvNagiosCore-cliente xinetd.d]# cat nrpe.xinetd
# 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 = 127.0.0.1 192.168.100.67
}
I can't find the cause of problem.
Best regards!
Someone can help me?