CentOS release 5.9 (Final) NRPE issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Ulas
Posts: 11
Joined: Thu Mar 19, 2015 4:34 am

CentOS release 5.9 (Final) NRPE issue

Post by Ulas »

Hi,
i have CentOS release 5.9 (Final), i installed nrpe which is indicated on https://darktraining.com/linux/30/ site.
But i encountered a problem.service daemon doesn't work.i defined/etc/services(nrpe 5666/tcp # NRPE)
while installing nrpe,i also have "make xxx" commands issue


[root@ulas_linux_test ~]# service nrpe start
Starting Nagios NRPE daemon (nrpe):
[root@ulas_linux_test ~]#


at nagios server side
root@dosya:~# /usr/local/nagios/libexec/check_nrpe -H 192.168.169.71
CHECK_NRPE: Error - Could not complete SSL handshake.
You have new mail in /var/mail/root
root@dosya:~# /usr/local/nagios/libexec/check_nrpe -n -H 192.168.169.71 -p 5666
CHECK_NRPE: Error receiving data from daemon.
root@dosya:~#

any support will appreciated
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: CentOS release 5.9 (Final) NRPE issue

Post by jdalrymple »

By default nrpe logs errors to /var/log/messages

Code: Select all

grep nrpe /var/log/messages
and look for useful errors. If you don't find any set debug=1 in nrpe.cfg and reload nrpe (if running as a daemon) then try again.
Ulas
Posts: 11
Joined: Thu Mar 19, 2015 4:34 am

Re: CentOS release 5.9 (Final) NRPE issue

Post by Ulas »

Thanks for your response,
i back to snapshot ,so my configuration went.
i try installing same way but i can't installing nrpe to my CENTOS machine.
i followed these sites
https://darktraining.com/linux/30/
http://sharadchhetri.com/2013/03/02/che ... ke-nagios/
http://tecadmin.net/install-nrpe-on-centos-rhel/
https://www.digitalocean.com/community/ ... n-centos-6

[root@ulas_linux_test src]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/ ... noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/ ... noarch.rpm
warning: /var/tmp/rpm-xfer.MdtKPd: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-8.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-8.noarch
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: CentOS release 5.9 (Final) NRPE issue

Post by jdalrymple »

You can't install epel6 on a CentOS 5.x machine.

try

Code: Select all

rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/repoview/epel-release.html
Locked