I hope somebody could lead me in this error. I am triyng to setting up nrpe agent at AIX server, I just downloaded the binaries for AIX and just trying to set it up, but when I try to test the configuration locally just to see if the Nagios server is able to reach out the AIX server, running the following line:
Code: Select all
$ /usr/local/nagios/libexec/check_nrpe -H 192.168.1.20 -c check_disk -a 60 80 /
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Code: Select all
Error: Request contained command arguments!
Client request was invalid, bailing out...
Code: Select all
./configure --enable-command-args
Code: Select all
*** 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... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating subst
config.status: creating include/config.h
config.status: include/config.h is unchanged
*** Configuration summary for nrpe 2.12 03-10-2008 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client.
Code: Select all
make all
cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c ./snprintf.c
In file included from /usr/include/fcntl.h:188,
from ./../include/config.h:143,
from ./snprintf.c:108:
/usr/include/unistd.h:935: error: expected ')' before '[' token
/usr/include/unistd.h:936: error: expected declaration specifiers or '...' before 'rid_t'
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
and do nothing
anyone could help me with this error? Because I don't know what else to do
Thank you All!
Best Regards!!