Compiling nrpe on AIXv6.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
akrishnan
Posts: 13
Joined: Fri Mar 15, 2013 10:29 am

Re: Compiling nrpe on AIXv6.1

Post by akrishnan »

I got reply from IBM. Per instructions I installed the krb5.toolkit.1.4.0.7.I. The toolkit had installed the following files:
Path: /usr/lib/objrepos
krb5.toolkit.adt 1.4.0.7
/usr/include/gssapi/gssapi_krb5.h
/usr/include/ibm_svc/krb5kdc.h
/usr/include/gssapi/gssapi_generic.h
/usr/include/k5profile.h
/usr/include/ibm_svc/krb5_svc.h
/usr/include/ibm_svc
/usr/include/ibm_svc/krb5adm.h
/usr/include/com_err.h
/usr/include/gssapi/gssapi.h
/usr/include/gssapi
/usr/include/krb5.h
/usr/include/kadm5
/usr/include/kadm5/admin.h
/usr/include/kdb_types.h
/usr/include/ibm_svc/krb5krb.h
/usr/include/ibm_svc/krb5vdb.h
/usr/include/ibm_svc/krb5utl.h
/usr/include/ibm_svc/krb5gss.h


So I executed the ./configure command. Still getting the following error:
checking for main in -lwrap... no
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for closesocket... no
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... SSL libraries found in /usr/lib

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.....................................................+..........................
..+.........+...+.........................+.+...................................
............+...................................................++*++*++*++*++*+
+*
checking for Kerberos include files... could not find include files
checking for perl... /bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subst
config.status: creating src/Makefile
config.status: creating package/solaris/Makefile
config.status: creating init-script
config.status: creating init-script.debian
config.status: creating init-script.suse
config.status: creating nrpe.spec
config.status: creating sample-config/nrpe.cfg
config.status: creating sample-config/nrpe.xinetd
config.status: creating include/config.h
config.status: include/config.h is unchanged


Any suggestions as to which Kerberos include files are not found?

I would like to thank the support team for their patience and guidance.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Compiling nrpe on AIXv6.1

Post by abrist »

Did you make sure the new (ibm supplied) files were in your path before compile?
Is kerberos support necessary in your environment? It should still compile without them.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
akrishnan
Posts: 13
Joined: Fri Mar 15, 2013 10:29 am

Re: Compiling nrpe on AIXv6.1

Post by akrishnan »

I do have the /usr/include in the $PATH. Here is the output:
echo $PATH
/bin:/usr/bin:/usr/sbin:/etc:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:/tools/bin:/usr/lpp/X11/Lib:/usr/lpp/ssp/bin:/usr/vac/bin:/usr/local/etc:/usr/local/scripts:/usr/include

What are the include files, the nagios configure process is looking for? In my environment, krb5 is used. Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Compiling nrpe on AIXv6.1

Post by abrist »

krb5 is supported by nrpe and is the assumed implementation of kerberos in the nrpe's installer.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked