I am trying to install on debain 8.
steps followed: https://assets.nagios.com/downloads/nag ... _Agent.pdf
version details
root@syd4linau:~/linux-nrpe-agent# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
following is the error
+++++++++++++++++++++++++++++
cd ./src/; make
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu/ -lssl -lcrypto -lnsl
/tmp/cce70vH3.o: In function `get_dh2048':
/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src/./../include/dh.h:42: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:65: recipe for target 'all' failed
make: *** [all] Error 2
cd ./src/; make install
make[1]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
make install-plugin
make[2]: Entering directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
/usr/bin/install: cannot stat ‘check_nrpe’: No such file or directory
Makefile:58: recipe for target 'install-plugin' failed
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:54: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/linux-nrpe-agent/subcomponents/nrpe/nrpe-4.0.2/src'
Makefile:89: recipe for target 'install' failed
make: *** [install] Error 2
NRPE-POST
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
+++++++++++++++++++++++++++++
unable to install nrp agent in debain 8
Re: unable to install nrp agent in debain 8
Looks like the version of OpenSSL you have has dropped support for NRPE's DH key exchange.
https://github.com/NagiosEnterprises/nrpe/issues/93
You can bypass the issue by adding --with-need-dh=no to your configure command.
Or if you are not yet settled on NRPE, you could take a look at our newer agent, the Nagios Cross-Platform Agent.
https://www.nagios.org/ncpa/#downloads
https://github.com/NagiosEnterprises/nrpe/issues/93
You can bypass the issue by adding --with-need-dh=no to your configure command.
Or if you are not yet settled on NRPE, you could take a look at our newer agent, the Nagios Cross-Platform Agent.
https://www.nagios.org/ncpa/#downloads
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: unable to install nrp agent in debain 8
Hello,
I have tried this and nrpe agent installed but the nrpe is unable to connect ssl error. So I have followed the below doc and installed the agent and is now connected.
https://www.tecmint.com/install-postgre ... buntu/amp/
But I am able to run arguments from the nagiosxi, with out arguments its working. I have set dont_blame=1, but the issue still exist.
I have tried this and nrpe agent installed but the nrpe is unable to connect ssl error. So I have followed the below doc and installed the agent and is now connected.
https://www.tecmint.com/install-postgre ... buntu/amp/
But I am able to run arguments from the nagiosxi, with out arguments its working. I have set dont_blame=1, but the issue still exist.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: unable to install nrp agent in debain 8
Hi,
Glad your were able to get installed, have you setup the commands in nrpe.cfg with the argument option added, see:
NRPE - Configuring NRPE Commands To Accept Arguments
If so, can run one of the checks from the command line and post the output see we can review the error message? Thanks, Benjamin
Glad your were able to get installed, have you setup the commands in nrpe.cfg with the argument option added, see:
NRPE - Configuring NRPE Commands To Accept Arguments
If so, can run one of the checks from the command line and post the output see we can review the error message? Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!