Nagios Client/Plugins and nrpe on a 64bit Ubuntu install problem

Posted on 2009-04-20
Last Modified: 2013-12-16

I am a bit stuck with getting a nagios client (64 bit Ubuntu) to be monitored by my nagios host. I am trying to install the client/plugins on a 64 bit Ubuntu 606 machine but it keeps giving a error. I am following the steps as stated in

When I do #./configure  in the Plugins download directory it completes with no error, but when I do  #make it gives the below error:
make[2]: Entering directory `/root/nagios/nagios-plugins-1.4.11/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -ldl -L. -o check_apt  check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o
gcc -g -O2 -o check_apt check_apt.o utils.o runcmd.o  -ldl -L/root/nagios/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a
/usr/bin/ld: i386 architecture of input file `utils.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `runcmd.o' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[2]: *** [check_apt] Error 1
make[2]: Leaving directory `/root/nagios/nagios-plugins-1.4.11/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios/nagios-plugins-1.4.11'
make: *** [all] Error 2

I have tried a few articles to get 32bit compiled on 64bit, but I keep getting the same results. Any one have a suggestion on how to get it working or where will I be able to a 64bit version of the nagios plugins?
Question by:Rigged
    LVL 9

    Accepted Solution

    Information below taken from here:

    "Adding -m32 to your CFLAGS and/or LDFLAGS should force building 32-bit applications. This assumes your setup is prepared for 32-bit applications already of course.

    $ export CFLAGS='-m32'
    $ export LDFLAGS='-m32'
    $ ./configure ... etc .. etc .."
    LVL 1

    Author Closing Comment

    Awesome it worked perfectly. Thanks alot

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now