Page 1 of 1

Setting up plug-ins for Zimbra Server

Posted: Fri Sep 21, 2012 9:44 am
by afrojoe
I'm currently stuck trying to setup plugins for reading a variety of services from a particular Ubuntu 10.0.4 server on NagiosĀ® Coreā„¢ Version 3.2.3. I've tried several versions of the plug-ins to see if that alleviated the issue, but unfortunately it did not.

Here is my CLI string:

Code: Select all

sudo ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/lib/ssl --with-mysql=/opt/zimbra/bin/mysql  
Even explicitly indicating where my SQL install is and my openSSL, ./configure still shows it as being select as "no":

Code: Select all

config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
            --with-apt-get-command: /usr/bin/apt-get
              --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
               --with-ping-command: /bin/ping -n -U -w %d -c %d %s
                       --with-ipv6: yes
                      --with-mysql: no
                    --with-openssl: no
                     --with-gnutls: no
                       --with-perl: /usr/bin/perl
             --enable-perl-modules: no
                     --with-cgiurl: /nagios/cgi-bin
               --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin

I review the configure.log and see the following (interesting) errors

My CLI string:

Code: Select all

It was created by nagios-plugins configure 1.4.11, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/lib/ssl --with-mysql=/opt/zimbra/bin/mysql

## --------- ##
## Platform. ##
 
Some Header Errors:

Code: Select all

configure:4604: gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: error: minix/config.h: No such file or directory
configure:4610: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.
.
.
| # include <sys/types.h>
| #endif

Code: Select all

configure:4624: result: no
configure:4628: checking minix/config.h presence
configure:4643: gcc -E  conftest.c
conftest.c:21:26: error: minix/config.h: No such file or directory
configure:4649: $? = 1
configure: failed program was:
.
.
.
.
| #include <minix/config.h>

Code: Select all

configure:5883: checking for C++ compiler version
configure:5890: g++ --version >&5
./configure: line 5891: g++: command not found
configure:5893: $? = 127
configure:5900: g++ -v >&5
./configure: line 5901: g++: command not found
configure:5903: $? = 127
configure:5910: g++ -V >&5
./configure: line 5911: g++: command not found
configure:5913: $? = 127
configure:5916: checking whether we are using the GNU C++ compiler
configure:5945: g++ -c   conftest.cpp >&5
./configure: line 5946: g++: command not found
configure:5951: $? = 127

Can anyone help? Looks like the C++ complier isn't installed.. is that all it is?