Hello,
Does anyone know if AIX 7.1 is supported with Nagios XI? If so, what is the best method to support AIX 7.1?
AIX 6.1 and 5.3 works fine with agent but does not work for AIX 7.1.
We also attempted to use NRPE on AIX 7.1 but that didn't work as well.
Below is our attempt to install agent install but it generated a lot of dependences and unable to locate lib files required.
Thank you,
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.
echo_n[3]: /usr/bin/bash: not found.
Proceeding with installation...
Current step is 0-prereqs
Running './0-prereqs'...
RESULT=0
0-prereqs appears to have already completed successfully. Moving on to the next
step.
Current step is 1-usersgroups
Running './1-usersgroups'...
RESULT=0
1-usersgroups appears to have already completed successfully. Moving on to the n
ext step.
Current step is 2-plugins
Running './2-plugins'...
error: failed dependencies:
gawk is needed by nagios-plugins-1.4.16-1
net-snmp-perl is needed by nagios-plugins-1.4.16-1
net-snmp-utils is needed by nagios-plugins-1.4.16-1
python is needed by nagios-plugins-1.4.16-1
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './2-plugins'
It requires so many dependencies, and we can’t find those files.
aix-nrpe-agent/pre-req]n-2.6.8-1.aix6.1.ppc.rpm <
error: failed dependencies:
python-libs = 2.6.8 is needed by python-2.6.8-1
bzip2 >= 1.0.2-4 is needed by python-2.6.8-1
db4 >= 4.7.25-2 is needed by python-2.6.8-1
expat >= 2.1.0-1 is needed by python-2.6.8-1
gettext >= 0.10.40-6 is needed by python-2.6.8-1
gmp >= 4.3.2-2 is needed by python-2.6.8-1
gdbm >= 1.8.3-1 is needed by python-2.6.8-1
libffi >= 3.0.13-1 is needed by python-2.6.8-1
readline >= 5.2-3 is needed by python-2.6.8-1
tcl >= 8.5.8-2 is needed by python-2.6.8-1
tk >= 8.5.8-1 is needed by python-2.6.8-1
sqlite >= 3.7.3-1 is needed by python-2.6.8-1
zlib >= 1.2.3-3 is needed by python-2.6.8-1
libdb-4.7.so is needed by python-2.6.8-1
libexpat.a(libexpat.so.1) is needed by python-2.6.8-1
libffi.a(libffi.so.6) is needed by python-2.6.8-1
libgdbm.a(libgdbm.so.3) is needed by python-2.6.8-1
libpython2.6.a(libpython2.6.so) is needed by python-2.6.8-1
libreadline.a(libreadline.so.5) is needed by python-2.6.8-1
libsqlite3.a(libsqlite3.so.0) is needed by python-2.6.8-1
Nagios XI Support for AIX 7.1
Re: Nagios XI Support for AIX 7.1
AIX 7.1 with NRPE is somewhat of a grey area. In the "guaranteed to work and backed by our SLA" sense, no, NRPE is not supported to that level. It's a best-effort deal - we will do what we can to get it working, but at a certain point it is something that your AIX/Solaris/HP-UX/Apple ][ admin needs to address. We can't possibly guarantee that the software will work for all versions of all operating systems, but we will do our best.
Former Nagios employee
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios XI Support for AIX 7.1
So if I'm not mistaken our fullinstall script is based off precompiled binaries that were provided to us to work with. For that reason it's definitely going to fail on 7.1 as we don't have that binary readily available.
To go a step further - I'd wager that the dependency errors your seeing are more keyed towards plugins not npre. Although they are useful, you can monitor AIX without nagios plugins. I recommend compiling both from source.
With nrpe it will likely just work
With plugins it *should* skip any of the individual plugins for which it can't verify all the dependencies, but still will build the ones it is able to.
To go a step further - I'd wager that the dependency errors your seeing are more keyed towards plugins not npre. Although they are useful, you can monitor AIX without nagios plugins. I recommend compiling both from source.
With nrpe it will likely just work
With plugins it *should* skip any of the individual plugins for which it can't verify all the dependencies, but still will build the ones it is able to.
Re: Nagios XI Support for AIX 7.1
Who provided you the binary? IBM? Can we get IBM to assist to recompile binary or validate it to work?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios XI Support for AIX 7.1
We don't have a maintenance contract with IBM - we don't even own a pSeries to fiddle around with.hk44765 wrote:Who provided you the binary? IBM? Can we get IBM to assist to recompile binary or validate it to work?
As for the source of the binaries we do have available - I have no idea. Those binaries came to be before my time with Nagios.
https://exchange.nagios.org/directory/D ... ns/details
Re: Nagios XI Support for AIX 7.1
I understand. However, we have access to IBM support and happy to facilitate and foster communication should you wish to assist with creating a package available for other AIX 7.1 customers.
Re: Nagios XI Support for AIX 7.1
Try this, then you can use your 6.1 binaries.hk44765 wrote:I understand. However, we have access to IBM support and happy to facilitate and foster communication should you wish to assist with creating a package available for other AIX 7.1 customers.
Install in this order. Binaries easily found in the net with some effort googling.
No warranty whatsoever. Modify as required.
After installing all the ones below, you can compile the source using gcc.
Alternatively you can try using the binaries you have, if it does not work let me know. I can pass you my nrpe binary.
A friendly advice, forget about nrpe and use check_by_ssh.
It will save you all the headache with audit findings later.
Code: Select all
rpm -ivh fping-3.8-1.aix5.3.ppc.rpm
rpm -ivh gettext-0.10.40-8.aix5.2.ppc.rpm
rpm -ivh zlib-1.2.8-1.aix5.1.ppc.rpm
#rpm -ivh libgcc-4.8.2-1.aix6.1.ppc.rpm
rpm -ivh libgcc-4.8.3-1.aix7.1.ppc.rpm
rpm -ivh libffi-3.0.13-1.aix5.1.ppc.rpm
rpm -Uvh gettext-0.18.3.1-1.aix6.1.ppc.rpm --nodeps --force
rpm -Uvh libiconv-1.14-2.aix5.1.ppc.rpm
rpm -ivh libsigsegv-2.10-1.aix5.2.ppc.rpm
rpm -Uvh bash-4.3-12.aix5.1.ppc.rpm
rpm -ivh info-5.1-2.aix5.1.ppc.rpm
rpm -ivh readline-6.2-5.aix5.1.ppc.rpm
rpm -ivh gawk-4.0.2-1.aix5.1.ppc.rpm
rpm -Uvh openssl-1.0.1g-1.aix5.1.ppc.rpm
rpm -ivh net-snmp-5.7.2-1.aix5.1.ppc.rpm
rpm -ivh gdbm-1.10-1.aix5.1.ppc.rpm
rpm -ivh perl-5.8.8-2.aix5.1.ppc.rpm
rpm -ivh perl-DBD-DB2-1-1.aix6.1.ppc.rpm
rpm -ivh perl-DBI-1.622-1.aix5.1.ppc.rpm
rpm -ivh perl-suidperl-5.8.8-2.aix5.1.ppc.rpm
rpm -ivh net-snmp-perl-5.7.2-1.aix5.1.ppc.rpm
rpm -ivh net-snmp-utils-5.7.2-1.aix5.1.ppc.rpm
rpm -ivh openldap-2.4.23-0.3.aix5.1.ppc.rpm
rpm -ivh openldap-devel-2.4.23-0.3.aix5.1.ppc.rpm
rpm -ivh m4-1.4.17-1.aix5.1.ppc.rpm
rpm -ivh bzip2-1.0.6-1.aix5.1.ppc.rpm
rpm -ivh unzip-64bit-6.0-3.aix5.1.ppc.rpm
rpm -ivh make_64-4.0-1.aix5.3.ppc.rpm
rpm -ivh autoconf-2.69-1.aix5.1.ppc.rpm
rpm -ivh automake-1.14.1-1.aix5.1.ppc.rpm
rpm -ivh libidn-1.28-1.aix5.1.ppc.rpm
rpm -ivh pcre-8.34-1.aix5.1.ppc.rpm
rpm -Uvh wget-1.15-1.aix5.1.ppc.rpm
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Nagios XI Support for AIX 7.1
Former Nagios Employee.
me.
me.