Page 2 of 2

Re: Need clarification

Posted: Thu Aug 22, 2013 9:16 am
by ravish78
Our system admin have installed nagios plugins but they are now getting issues with nrpe plugin installs

Below is error

bash-3.2$ pwd
/tmp/nrpe-2.13
bash-3.2$ sudo make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c -L/usr/local/ssl/lib/ -lssl -lcrypto -lnsl -lsocket
nrpe.c: In function `main':
nrpe.c:218: warning: assignment discards qualifiers from pointer target type
nrpe.c:251: warning: assignment makes pointer from integer without a cast
Undefined first referenced
symbol in file
get_dh512 /var/tmp//ccqtQFFB.o
ld: fatal: symbol referencing errors. No output written to nrpe
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nrpe'
Current working directory /tmp/nrpe-2.13/src
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.2$ uname -a
SunOS usa0300ux255 5.10 Generic_148888-05 sun4v sparc sun4v

Re: Need clarification

Posted: Thu Aug 22, 2013 9:56 am
by lmiltchev
Run the following commands, and display any errors that you see (if any):

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/solaris-nrpe-agent.tar.gz
gunzip -c solaris-nrpe-agent.tar.gz | tar xf -
cd solaris-nrpe-agent
./fullinstall

Re: Need clarification

Posted: Wed Sep 04, 2013 9:16 am
by ravish78
They have installed as per this process but after installation check_nrpe is not present under libexec folder

Re: Need clarification

Posted: Wed Sep 04, 2013 10:40 am
by abrist
Could you post the log of an attempted install?

Re: Need clarification

Posted: Fri Oct 11, 2013 3:11 pm
by ravish78
You can close this too