Page 2 of 2

Re: Compiling nagios plugins in AIX

Posted: Mon Jun 09, 2014 6:15 pm
by rajasegar
abrist wrote:I will take a look at this tomorrow, though it is starting to look like you may have issues with your headers or toolchain. Where did you get the GNU toolchain from? (as they don't ship with AIX)
I think I downloaded the following from http://www.perzl.org/aix/

09/01/2014 10:42 AM 18,087,017 gcc-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:41 AM 6,571,520 gcc-c++-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:42 AM 5,866,258 gcc-cpp-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:42 AM 9,934,241 gcc-gfortran-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:54 AM 1,518,681 gmp-5.1.3-1.aix5.1.ppc.rpm
09/01/2014 10:53 AM 186,807 gmp-devel-5.1.3-1.aix5.1.ppc.rpm
09/01/2014 10:42 AM 886,300 libgcc-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:42 AM 517,814 libgomp-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:53 AM 414,917 libmpc-1.0.1-2.aix5.1.ppc.rpm
09/01/2014 10:53 AM 30,653 libmpc-devel-1.0.1-2.aix5.1.ppc.rpm
09/01/2014 10:42 AM 10,022,361 libstdc++-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:42 AM 2,667,103 libstdc++-devel-4.8.2-1.aix6.1.ppc.rpm
09/01/2014 10:53 AM 801,716 mpfr-3.1.2-1.aix5.1.ppc.rpm
09/01/2014 10:53 AM 68,407 mpfr-devel-3.1.2-1.aix5.1.ppc.rpm

Re: Compiling nagios plugins in AIX

Posted: Tue Jun 10, 2014 11:14 am
by GldRush98
I'm not sure if this will help you, but I thought I'd share... here are the nrpe and plugin binaries for AIX 5.3 that I had to track down around 2 years ago. May work on other AIX versions. Could be worth a try :)
I realize you're trying to compile them on your own and may have other reasons/requirements for doing so... but regardless;

https://www.dropbox.com/s/i85gl40nv7ah5 ... ies.tar.gz
https://www.dropbox.com/s/zg7z2mjejqohd ... ies.tar.gz

Re: Compiling nagios plugins in AIX

Posted: Tue Jun 10, 2014 2:36 pm
by abrist
Raj, unless you have a requirement to compile, you may wish to try some of the bins floating around. There are many plugins users running aix, and I have yet to once fail on the mathlibs.

Re: Compiling nagios plugins in AIX

Posted: Tue Jun 10, 2014 6:51 pm
by rajasegar
GldRush98 wrote:I'm not sure if this will help you, but I thought I'd share... here are the nrpe and plugin binaries for AIX 5.3 that I had to track down around 2 years ago. May work on other AIX versions. Could be worth a try :)
I realize you're trying to compile them on your own and may have other reasons/requirements for doing so... but regardless;

https://www.dropbox.com/s/i85gl40nv7ah5 ... ies.tar.gz
https://www.dropbox.com/s/zg7z2mjejqohd ... ies.tar.gz
Correct. I changed the check_disk.c to get rid of the default display.
Original : free space: / 11335 MB (55% inode=99%)
Revised : /apps >Total:295GB Used:37GB(13%) Free:255GB(87%)

Another reason is I want to standardise on the versions used, nrpe 2.15 and plugins > 2.0

I still cannot get hold of bos.adt.libm. Anyone can assist on this, it will be appreciated.

Re: Compiling nagios plugins in AIX

Posted: Tue Jun 10, 2014 6:52 pm
by rajasegar
abrist wrote:Raj, unless you have a requirement to compile, you may wish to try some of the bins floating around. There are many plugins users running aix, and I have yet to once fail on the mathlibs.
Unfortunately I do have a requirement to compile as per the post above.

Re: Compiling nagios plugins in AIX

Posted: Wed Jun 11, 2014 3:17 pm
by sreinhardt
Aside from gcc being newer, is there a particular reason you are not using the ibm provided packages? We know they should work and have worked for people in the past. While newer versions are great, we cannot guarantee that the freeware package will have the same functionality.

Re: Compiling nagios plugins in AIX

Posted: Wed Jun 11, 2014 6:44 pm
by rajasegar
sreinhardt wrote:Aside from gcc being newer, is there a particular reason you are not using the ibm provided packages? We know they should work and have worked for people in the past. While newer versions are great, we cannot guarantee that the freeware package will have the same functionality.
It did not work, that is why I installed the freeware version.

Re: Compiling nagios plugins in AIX

Posted: Thu Jun 12, 2014 11:18 am
by slansing
Unfortunately there doesn't look to be much of an option. Yeah, the pre-compiled binaries for AIX that I found are quite a bit older than version 2.0.0, though they are not the newest, they do work...

Re: Compiling nagios plugins in AIX

Posted: Wed Aug 06, 2014 8:30 pm
by rajasegar
To solve the compilation issues use the latest nagios-plugins-2.0.3.tar.gz.

Please close the thread.