[Nagiosplug-help] check_nrpe build sucks

Mascardo, Erwin Erwin.Mascardo at intelsat.com
Thu Jul 14 05:50:49 CEST 2005


>-----Original Message-----
>From: Ralph.Grothe at itdz-berlin.de [mailto:Ralph.Grothe at itdz-berlin.de] 
>Sent: Thursday, 14 July, 2005 07:23
>To: ae at op5.se; nagiosplug-help at lists.sourceforge.net
>Subject: RE: [Nagiosplug-help] check_nrpe build sucks
>
>
>Found another time gap to further fiddle with NRPE.
>
>Since ldd check_nrpe listed libssl and libcrypt to be linked
>against
>(what I had assumed to having had avoided by simply not supplying
>the --enable-ssl switch to caonfigure)
>I recleaned and reconfigured, this time explicitly passing
>--disable-ssl
>
>Then make all finished without errors.
>
>But when I now run the newly built executable it claims not to
>pass a CRC check.
>
>Where the hack is this coming from?
>
># src/check_nrpe -H terra -p 5666 -c check_tns_FREMD
>CHECK_NRPE: Response packet had invalid CRC32.
>
># ldd src/check_nrpe
>/usr/lib/libc.a(pse.o)
>/usr/lib/libtli.a(shr.o)
>/usr/lib/libpthreads.a(shr_comm.o)
>/usr/lib/libpthreads.a(shr.o)
>/usr/lib/libpthreads_compat.a(shr.o)
>/usr/lib/libnsl.a(shr.o)
>src/check_nrpe
>/usr/lib/libcrypt.a(shr.o)
>/usr/lib/libc.a(shr.o)
>
>
>Hm, there's still libcrypt involved.
>
>Do have to rebuild with additional switch --disable-crypto ?
>
>configure --help doesn't mention such an option.
>
>Should I try to build the nrpe daemon on the HPUX remote host as
>well from the sources,
>explicitly disabling any crypto links?
>Remember that I download the prebuilt nrpe depot for HPUX 11.00
>PARISC.

Yes. Definitely. There's nothing inherently wrong with having libcrypt
linked in, but you're running HP-UX...and given the wide variation of
possible configurations for that abomination, it's a good idea to
compile everything from source if you have a choice.

I run NRPE on a mixture of 10.20, 11.0, and 11.11 HP boxen, all of it
compiled locally with SSL disabled. It all works perfectly well, and the
only CRC errors I see are signs of problems.
############################################################

Intelsat is a global communications provider offering flexible and 
secure services to customers in over 220 countries and territories.  
Intelsat has maintained a leadership position for over 40 years by 
distributing video, voice, and data for television and content providers, 
government and military entities, major corporations, telecommunications carriers, 
and Internet service providers. Intelsat's reach, power and expanding solutions 
portfolio deliver information reliably and quickly to every corner of the globe.  

For more information, visit www.intelsat.com.

############################################################
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by reply email and 
destroy all copies of the original message.  Any views 
expressed in this message are those of the individual 
sender, except where the sender specifically states them 
to be the views of Intelsat, Ltd. and its subsidiaries.
############################################################




More information about the Help mailing list