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
nagios500:500::/home/nagios:/bin/bash
nagios500:
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?
CHECK_NRPE: Error receiving data from daemon
-
- Posts: 6
- Joined: Fri Aug 11, 2017 2:42 am
Re: CHECK_NRPE: Error receiving data from daemon
Are you running nrpe as a daemon (service) or as a xinetd service?
try
This may be a dns resolution issue for localhost
try
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
-
- Posts: 6
- Joined: Fri Aug 11, 2017 2:42 am
Re: CHECK_NRPE: Error receiving data from daemon
Ok,
I will try it
I will try it
Re: CHECK_NRPE: Error receiving data from daemon
Let me know if this resolves your issue. Thank you!
-
- Posts: 6
- Joined: Fri Aug 11, 2017 2:42 am
Re: CHECK_NRPE: Error receiving data from daemon
resolved.
Thanks for help!
Thanks for help!
Re: CHECK_NRPE: Error receiving data from daemon
Glad to hear it! I'll be closing this up now, but feel free to open another thread if you need anything in the future!
Former Nagios employee