bin folder missing from /usr/local/nagios
bin folder missing from /usr/local/nagios
Hi Nagios team,
I have installed nagios-plugins 2.0.2 and nrpe2.15 on my production system under /usr/local/nagios
But from some reason bin folder is missing with the nrpe file:
root@ssbpmutu:/usr/local/nagios# pwd
/usr/local/nagios
root@ssbpmutu:/usr/local/nagios# ls -la
total 23
drwxr-xr-x 7 nagios app 7 May 27 2015 .
drwxrwxrwx 16 root root 18 Jun 22 2015 ..
drwxr-xr-x 2 nagios app 3 Nov 6 10:17 etc
drwxr-xr-x 2 nagios app 2 May 27 2015 include
drwxr-xr-x 2 nagios app 3 May 27 2015 lib
drwxr-xr-x 2 nagios app 64 May 27 2015 libexec
drwxr-xr-x 3 nagios app 3 May 27 2015 share
Can you please let me know what i did wrong?
I have installed nagios-plugins 2.0.2 and nrpe2.15 on my production system under /usr/local/nagios
But from some reason bin folder is missing with the nrpe file:
root@ssbpmutu:/usr/local/nagios# pwd
/usr/local/nagios
root@ssbpmutu:/usr/local/nagios# ls -la
total 23
drwxr-xr-x 7 nagios app 7 May 27 2015 .
drwxrwxrwx 16 root root 18 Jun 22 2015 ..
drwxr-xr-x 2 nagios app 3 Nov 6 10:17 etc
drwxr-xr-x 2 nagios app 2 May 27 2015 include
drwxr-xr-x 2 nagios app 3 May 27 2015 lib
drwxr-xr-x 2 nagios app 64 May 27 2015 libexec
drwxr-xr-x 3 nagios app 3 May 27 2015 share
Can you please let me know what i did wrong?
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: bin folder missing from /usr/local/nagios
Can you post the output of history, scrubbing out any passwords that might be in your history. Also, can you give the output of echo $0? Thanks!
Re: bin folder missing from /usr/local/nagios
475 su - nagios
476 cd /apps/nagios/src/nagios-plugins-2.0.2
477 ./configure --prefix=/application/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/local/ssl --with-perl=/usr/local/bin --enable-perl-modules --without-dbi --without-radius --without-ldap --with-gnu-ld
478 su - nagios
479 /usr/sfw/bin/gmake install-root
480 cd /usr/local/nagios/libexec/
481 ./check_disk -w 10 -c 5 -p /
482 su - nagios
483 gmake install
484 su - nagios
485 vi /etc/services
486 su - nagios
487 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg .d
488 cd /apps/nagios//src/nrpe-2.15/
489 gmake install
490 cd /usr/local/nagios/libexec/
491 ls -la
492 ./check_nrpe -H 127.0.0.1
493 netstat -an | grep 5666
494 telnet 10.146.1.100 5666
495 uname
496 /usr/ucb/whoami
497 su - etmutu
498 su - et1
499 uname
500 /usr/ucb/whoami
501 cd /usr/local/nagios/
502 history
root@ssbpmutu:/usr/local/nagios# echo $0
bash
476 cd /apps/nagios/src/nagios-plugins-2.0.2
477 ./configure --prefix=/application/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin --with-cgiurl=/nagios/cgi-bin --with-openssl=/usr/local/ssl --with-perl=/usr/local/bin --enable-perl-modules --without-dbi --without-radius --without-ldap --with-gnu-ld
478 su - nagios
479 /usr/sfw/bin/gmake install-root
480 cd /usr/local/nagios/libexec/
481 ./check_disk -w 10 -c 5 -p /
482 su - nagios
483 gmake install
484 su - nagios
485 vi /etc/services
486 su - nagios
487 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg .d
488 cd /apps/nagios//src/nrpe-2.15/
489 gmake install
490 cd /usr/local/nagios/libexec/
491 ls -la
492 ./check_nrpe -H 127.0.0.1
493 netstat -an | grep 5666
494 telnet 10.146.1.100 5666
495 uname
496 /usr/ucb/whoami
497 su - etmutu
498 su - et1
499 uname
500 /usr/ucb/whoami
501 cd /usr/local/nagios/
502 history
root@ssbpmutu:/usr/local/nagios# echo $0
bash
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: bin folder missing from /usr/local/nagios
So, I notice several differences from our NRPE 2.15 instructions. Can you try installing using https://support.nagios.com/kb/article.php?id=8 ? Thanks!
Re: bin folder missing from /usr/local/nagios
Hi,
My machines are Unix-Solaris machines.
So i use this procedure https://lucamerello.wordpress.com/2014/ ... -and-nrpe/
I didnt find in your site installation for Solaris.
My machines are Unix-Solaris machines.
So i use this procedure https://lucamerello.wordpress.com/2014/ ... -and-nrpe/
I didnt find in your site installation for Solaris.
Re: bin folder missing from /usr/local/nagios
We have documentation available for installing NRPE on Solaris here - https://assets.nagios.com/downloads/nag ... 1444063497
Just to clarify - what files are you looking for in the bin directory? Everything that plugins depend on should be in libexec with the exception of a few components -
Just to clarify - what files are you looking for in the bin directory? Everything that plugins depend on should be in libexec with the exception of a few components -
Code: Select all
[root@localhost bin]# ls
file2sock log2ndo nagios nagiostats ndo2db ndomod.o npcd npcdmod.o nrpe nsca sockdebug
Former Nagios Employee
Re: bin folder missing from /usr/local/nagios
You send me installation of Nagiox XI but it is nagios core (nrpe 2,15)
Re: bin folder missing from /usr/local/nagios
Hi,
Good day!
i just re-install nrpe and now it seems correct i have under /usr/local/nagios all 4 folders:
root@ssbpmutu:/usr/local/nagios# ls -la
total 26
drwxr-xr-x 8 nagios app 8 Nov 9 06:57 .
drwxrwxrwx 16 root root 18 Jun 22 2015 ..
drwxrwxr-x 2 nagios nagios 3 Nov 9 06:57 bin
drwxrwxr-x 2 nagios nagios 3 Nov 9 06:57 etc
drwxr-xr-x 2 nagios app 2 May 27 2015 include
drwxr-xr-x 2 nagios app 3 May 27 2015 lib
drwxrwxr-x 2 nagios nagios 64 Nov 9 07:54 libexec
drwxr-xr-x 3 nagios app 3 May 27 2015 share
root@ssbpmutu:/usr/local/nagios#
now i'm facing CHECK_NRPE: Error - Could not complete SSL handshake issue when running root@ssbpmutu:/usr/local/nagios/libexec# ./check_nrpe -H 127.0.0.1
Just to clarify: Im using Ngaio core, nrpe-2.15, nagios-plugins-2.0.2, my machine is Solaris 10.
i used nagios troubleshot doc but again i have this issue. can you please let me know what should i do?
Good day!
i just re-install nrpe and now it seems correct i have under /usr/local/nagios all 4 folders:
root@ssbpmutu:/usr/local/nagios# ls -la
total 26
drwxr-xr-x 8 nagios app 8 Nov 9 06:57 .
drwxrwxrwx 16 root root 18 Jun 22 2015 ..
drwxrwxr-x 2 nagios nagios 3 Nov 9 06:57 bin
drwxrwxr-x 2 nagios nagios 3 Nov 9 06:57 etc
drwxr-xr-x 2 nagios app 2 May 27 2015 include
drwxr-xr-x 2 nagios app 3 May 27 2015 lib
drwxrwxr-x 2 nagios nagios 64 Nov 9 07:54 libexec
drwxr-xr-x 3 nagios app 3 May 27 2015 share
root@ssbpmutu:/usr/local/nagios#
now i'm facing CHECK_NRPE: Error - Could not complete SSL handshake issue when running root@ssbpmutu:/usr/local/nagios/libexec# ./check_nrpe -H 127.0.0.1
Just to clarify: Im using Ngaio core, nrpe-2.15, nagios-plugins-2.0.2, my machine is Solaris 10.
i used nagios troubleshot doc but again i have this issue. can you please let me know what should i do?
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: bin folder missing from /usr/local/nagios
It says XI but is largely applicable to Nagios Core.
Can you attach your nrpe.cfg?
Can you attach your nrpe.cfg?
Previous Nagios employee
Re: bin folder missing from /usr/local/nagios
Hi,
please see the attached nrpe.cfg file.
Thank you!
please see the attached nrpe.cfg file.
Thank you!
- Attachments
-
- nrpe.cfg
- nrpe.cfg file
- (7.83 KiB) Downloaded 396 times