NRPE on AIX 6.1
Posted: Mon Jul 09, 2012 11:06 am
Hey All,
Our AIX admins attempted to do a AIX NRPE install per the instructions here: http://assets.nagios.com/downloads/nagi ... _Agent.pdf but ran into problems. Output is below, any ideas of what we may be overlooking here?
root@hqetldev03:[/tmp/aix-nrpe-agent] # ./fullinstall
=============================
Nagios XI AIX Agent Installer
=============================
This script will do a complete install of the Nagios XI
AIX agent by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a AIX
system. Do NOT use this on a system running
any other operating system.
Do you want to continue? [Y/n]y
Proceeding with installation...
Current step is 0-prereqs
0-prereqs appears to have already completed successfully. Moving on to the next step.
Current step is 1-usersgroups
1-usersgroups appears to have already completed successfully. Moving on to the next step.
Current step is 2-plugins
error: failed dependencies:
fping is needed by nagios-plugins-1.4.15-1
gawk is needed by nagios-plugins-1.4.15-1
net-snmp is needed by nagios-plugins-1.4.15-1
net-snmp-perl is needed by nagios-plugins-1.4.15-1
net-snmp-utils is needed by nagios-plugins-1.4.15-1
openldap is needed by nagios-plugins-1.4.15-1
openssl is needed by nagios-plugins-1.4.15-1
python is needed by nagios-plugins-1.4.15-1
libcrypto.a(libcrypto.so.1.0.0) is needed by nagios-plugins-1.4.15-1
libldap.a(libldap-2.4.so.2) is needed by nagios-plugins-1.4.15-1
libssl.a(libssl.so.1.0.0) is needed by nagios-plugins-1.4.15-1
2-plugins appears to have already completed successfully. Moving on to the next step.
Current step is 3-nrpe
error: failed dependencies:
nagios-plugins is needed by nrpe-2.13-1
libcrypto.a(libcrypto.so.1.0.0) is needed by nrpe-2.13-1
libssl.a(libssl.so.1.0.0) is needed by nrpe-2.13-1
mkdir: 0653-357 Cannot access directory /etc/nagios.
/etc/nagios: A file or directory in the path name does not exist.
cp: 0653-437 /etc/nagios is not a directory.
chown: /etc/nagios/nrpe.cfg: A file or directory in the path name does not exist.
chown: /etc/nagios/nrpe/: A file or directory in the path name does not exist.
grep: 0652-033 Cannot open /etc/nagios/nrpe.cfg.
################################################################################
### ###
### NRPE is currently set to allow connections only from these IP addresses: ###
### ###
### ###
### ###
### If you would like to change this list, enter all IP addresses to allow, ###
### separated by commas only, and then press Enter. ###
### (Put the address(es) of your Nagios XI servers(s) here.) ###
### ###
################################################################################
Allow from: [YAYNAGIOSSERVERYAY]
mv: 0653-401 Cannot rename /etc/nagios/nrpe.cfg to /var/tmp/nrpe.cfg:
A file or directory in the path name does not exist.
A file or directory in the path name does not exist.
./3-nrpe[50]: /etc/nagios/nrpe.cfg: 0403-005 Cannot create the specified file.
rm: /var/tmp/nrpe.cfg: A file or directory in the path name does not exist.
The nrpe service is not installed. Aborting.
3-nrpe appears to have already completed successfully. Moving on to the next step.
Current step is A-subcomponents
SUB
INSTALLING EXTRA PLUGINS...
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_asterisk.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_asterisk_sip_peers.sh: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_cpu_stats.sh: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_init_service: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_netstat.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_open_files.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_sip: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_swap.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/custom_check_mem: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/custom_check_procs: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/src: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/nagisk.pl: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
chmod: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
real 0m0.11s
user 0m0.03s
sys 0m0.06s
A-subcomponents appears to have already completed successfully. Moving on to the next step.
############################################################################
### ###
### Nagios XI AIX Agent Installation Complete! ###
### ###
############################################################################
Our AIX admins attempted to do a AIX NRPE install per the instructions here: http://assets.nagios.com/downloads/nagi ... _Agent.pdf but ran into problems. Output is below, any ideas of what we may be overlooking here?
root@hqetldev03:[/tmp/aix-nrpe-agent] # ./fullinstall
=============================
Nagios XI AIX Agent Installer
=============================
This script will do a complete install of the Nagios XI
AIX agent by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a AIX
system. Do NOT use this on a system running
any other operating system.
Do you want to continue? [Y/n]y
Proceeding with installation...
Current step is 0-prereqs
0-prereqs appears to have already completed successfully. Moving on to the next step.
Current step is 1-usersgroups
1-usersgroups appears to have already completed successfully. Moving on to the next step.
Current step is 2-plugins
error: failed dependencies:
fping is needed by nagios-plugins-1.4.15-1
gawk is needed by nagios-plugins-1.4.15-1
net-snmp is needed by nagios-plugins-1.4.15-1
net-snmp-perl is needed by nagios-plugins-1.4.15-1
net-snmp-utils is needed by nagios-plugins-1.4.15-1
openldap is needed by nagios-plugins-1.4.15-1
openssl is needed by nagios-plugins-1.4.15-1
python is needed by nagios-plugins-1.4.15-1
libcrypto.a(libcrypto.so.1.0.0) is needed by nagios-plugins-1.4.15-1
libldap.a(libldap-2.4.so.2) is needed by nagios-plugins-1.4.15-1
libssl.a(libssl.so.1.0.0) is needed by nagios-plugins-1.4.15-1
2-plugins appears to have already completed successfully. Moving on to the next step.
Current step is 3-nrpe
error: failed dependencies:
nagios-plugins is needed by nrpe-2.13-1
libcrypto.a(libcrypto.so.1.0.0) is needed by nrpe-2.13-1
libssl.a(libssl.so.1.0.0) is needed by nrpe-2.13-1
mkdir: 0653-357 Cannot access directory /etc/nagios.
/etc/nagios: A file or directory in the path name does not exist.
cp: 0653-437 /etc/nagios is not a directory.
chown: /etc/nagios/nrpe.cfg: A file or directory in the path name does not exist.
chown: /etc/nagios/nrpe/: A file or directory in the path name does not exist.
grep: 0652-033 Cannot open /etc/nagios/nrpe.cfg.
################################################################################
### ###
### NRPE is currently set to allow connections only from these IP addresses: ###
### ###
### ###
### ###
### If you would like to change this list, enter all IP addresses to allow, ###
### separated by commas only, and then press Enter. ###
### (Put the address(es) of your Nagios XI servers(s) here.) ###
### ###
################################################################################
Allow from: [YAYNAGIOSSERVERYAY]
mv: 0653-401 Cannot rename /etc/nagios/nrpe.cfg to /var/tmp/nrpe.cfg:
A file or directory in the path name does not exist.
A file or directory in the path name does not exist.
./3-nrpe[50]: /etc/nagios/nrpe.cfg: 0403-005 Cannot create the specified file.
rm: /var/tmp/nrpe.cfg: A file or directory in the path name does not exist.
The nrpe service is not installed. Aborting.
3-nrpe appears to have already completed successfully. Moving on to the next step.
Current step is A-subcomponents
SUB
INSTALLING EXTRA PLUGINS...
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_asterisk.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_asterisk_sip_peers.sh: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_cpu_stats.sh: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_init_service: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_netstat.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_open_files.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_sip: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/check_swap.pl: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/custom_check_mem: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/custom_check_procs: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/src: A file or directory in the path name does not exist.
cp: /opt/nagios/libexec: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/nagisk.pl: A file or directory in the path name does not exist.
chown: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
chmod: /opt/nagios/libexec/count_open_files: A file or directory in the path name does not exist.
real 0m0.11s
user 0m0.03s
sys 0m0.06s
A-subcomponents appears to have already completed successfully. Moving on to the next step.
############################################################################
### ###
### Nagios XI AIX Agent Installation Complete! ###
### ###
############################################################################