nrpe-2.0 on hp-ux 11.11
Jamie Bohr
Jamie_Bohr at Agilent.com
Thu Nov 20 18:21:06 CET 2003
I too am having problems getting NRPE to compile on HP-UX 10.20, and
11.X, ARG!!!! There must have been some major changes in NRPE because I
had not problem with NRPE 1.5.
On Wed, 2003-11-19 at 18:14, Rudy Montemayor wrote:
> Folks,
>
> I was wondering if anybody has seen this. I compiled nrpe-2.0 on HP-UX 11.11 and I got the following warning during the make:
>
> # /usr/local/bin/gmake all
> cd ./src/; /usr/local/bin/gmake ; cd ..
> gmake[1]: Entering directory `/var/tmp/nagios/nrpe-2.0/src'
> gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl
> nrpe.c: In function `wait_for_connections':
> nrpe.c:620: warning: passing arg 3 of `getpeername' from incompatible pointer type
> gcc -g -O2 -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl
> gmake[1]: Leaving directory `/var/tmp/nagios/nrpe-2.0/src'
>
> *** Compile finished ***
>
> What I'm seeing is that when the check_nrpe plugin on the monitoring system tries to connect with the nrpe daemon on the remote host, the IP address of the monitoring system is messed up, that is totally incorrect and thus is refused connection by the nrpe daemon. It's only when I add this bogus IP address to the nrpe.cfg file on the "allowed_hosts" line on the remote host that I get this to work. I'm assuming that my problem is coming from the "getpeername" arg3 mismatch.
>
> Any help would be appreciated. Thanks.
>
> Rudy
> rmontemayor at huntoil.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
--
Jamie Bohr
Agilent Technologies, Inc.
IT | Technical Computing
719-590-2396
Jamie_Bohr at Agilent.com
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list