Page 1 of 1

nagios 3.2.3 binaries for 32 bits

Posted: Thu Aug 23, 2012 5:20 am
by robegon
Dear friends,

I have installed nagios on centos 64 bits and I am trying to use nagios binaries on centos 32 bits.

The problem is that when I run for example check_disk on centos 32 bits I get the following error: -bash: ./check_disk: cannot execute binary file

If I run the foillowing commands of both installations the I can see that nagios is the 64 bits and the other installation is 64 bits:

[root@nagios plugins]# uname -a
Linux nagios.lantek.local 2.6.32-131.21.1.el6.x86_64 #1 SMP Tue Nov 22 19:48:09 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@twiki bin]# uname -a
Linux twiki 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:26:03 EST 2012 i686 i686 i386 GNU/Linux

Where can I download these binaries in 32 bits.

My nagios version is 3.2.3

Thanks in advance!

Re: nagios 3.2.3 binaries for 32 bits

Posted: Thu Aug 23, 2012 7:51 pm
by jsmurphy
I don't know about pre-compiled binaries, but it's pretty easy to download the nagios-plugins source and compile it on the 32-bit OS: http://sourceforge.net/projects/nagiosp ... ug/1.4.16/

There's an INSTALL doc in the tar, I think you have to run a grand total of 3 commands ;).

Re: nagios 3.2.3 binaries for 32 bits

Posted: Fri Aug 24, 2012 2:54 am
by robegon
Thank you very much for your quick reply.

Although my os is centos I followed the following link in order to compile the plugins:

http://www.techusers.net/32/compiling-i ... checkbyssh

But when i try to compile it, I get a lot of errors ( see atachment ) and the directoy /usr/local/nagios/libexec/ is not created..:-(

Honestly I am a beginner in linux world and I would be very gratefull if anyone could give me a clue of what is happening and how can I compile the binaries sucessfully.

Thanks in advance!

Roberto

Re: nagios 3.2.3 binaries for 32 bits

Posted: Fri Aug 24, 2012 4:29 am
by robegon
I compiled version nagios-plugins-1.4.15.tar.gz and worked fine, thank you!

Re: nagios 3.2.3 binaries for 32 bits

Posted: Fri Aug 24, 2012 5:11 pm
by jsmurphy
Glad I could help!