NRPE on AIX 6.1
NRPE on AIX 6.1
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! ###
### ###
############################################################################
--
Griffin Wakem
Griffin Wakem
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE on AIX 6.1
I am going to have to check with our AIX developer as to why this installer continued, but it looks like some required prerequisites are missing
gwakem wrote: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
Re: NRPE on AIX 6.1
ok, thank you. Just as a frame of reference, we are using AIX v6100-06-05-1115.
--
Griffin Wakem
Griffin Wakem
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE on AIX 6.1
Thanks for the additional info.
Re: NRPE on AIX 6.1
Any word back on this? Am I correct in assuming that the installer will pull in the pre-reqs, or will those have to be installed by the AIX admin?
--
Griffin Wakem
Griffin Wakem
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE on AIX 6.1
Yes, the wrapper script "should" install all prerequisite packages if they were not installed previously.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE on AIX 6.1
Our AIX programmer has been out but I sent him a query on the subject.
My guess is that it is supposed to install the prereqs but a look at the installer, makes me think something got looked over.
It appears the needed packages are
My guess is that it is supposed to install the prereqs but a look at the installer, makes me think something got looked over.
It appears the needed packages are
Code: Select all
fping
gawk
net-snmp
net-snmp-perl
net-snmp-utils
openldap
openssl
python
libcrypto.a(libcrypto.so.1.0.0)
libldap.a(libldap-2.4.so.2)
libssl.a(libssl.so.1.0.0)Re: NRPE on AIX 6.1
Our AIX Admins have replied back regarding the problems they had with the nrpe for AIX instructions and update you provided:
I don't know if your AIX guy has had a chance to check the install script yet, but if so, can we get a link to it? Or is what our Admins are asking for something that could be done?The dependencies are the problem: IBM has let much of their open-source packages
stagnate, and is making very limited efforts to create rpm-packages
which are compatible with AIX 6 and 7 libraries.
We were requesting that Nagios supply a statically-linked (single) binary
for AIX 6 (and 7) with all packages included,
(since this should be "create-able" from the test environment they used to
establish that it would actually run).
--
Griffin Wakem
Griffin Wakem
Re: NRPE on AIX 6.1
Any word back? I am trying to hold off the AIX Admins from requesting that we create custom scripts for everything we want to do and executing them via SSH...
--
Griffin Wakem
Griffin Wakem
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE on AIX 6.1
Our AIX programmer is in tomorrow and I am going to pick his brain on this so we can help find a solution.
**Edit: He is working remotely today, sent him an email query.**
**Edit: He is working remotely today, sent him an email query.**