fail to install nrpe agent in a linux server.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zzizing13
Posts: 3
Joined: Wed Mar 18, 2015 9:11 am

fail to install nrpe agent in a linux server.

Post by zzizing13 »

Hello

I failed to install nrpe agent in a linux server.
I didn't attatched an error log file because of the size.
Please refer the following log and let me know the solution.


[the last area of the error log]
.......
Making install in plugins
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2 -L. -o check_ntp check_ntp.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_ntp check_ntp.o -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread
check_ntp.o: In function `print_ntp_message':
/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins/check_ntp.c:233: undefined reference to `pow'
/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins/check_ntp.c:234: undefined reference to `pow'
collect2: ld returned 1 exit status
make[1]: *** [check_ntp] Error 1
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
make: *** [install-recursive] Error 1

real 0m0.294s
user 0m0.226s
sys 0m0.031s
Subcomponents installation failed - exiting
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: fail to install nrpe agent in a linux server.

Post by ssax »

What distro are you running this on?

Also, can you post a link to the guide you are following for install?
Locked