Page 1 of 1

Linux Agent on Scientific Linux 6.2

Posted: Mon Sep 24, 2012 3:44 am
by Tom_28
Hi

Is it posble to install a nagios agent on a Scientific Linux 6.2. Or ist it preview to have an agent for this OS?

Thanks
Thomas

Re: Linux Agent on Scientific Linux 6.2

Posted: Mon Sep 24, 2012 10:32 am
by mguthrie
I would try the CentOS/RHEL agent on it and see if it will install on it successfully, it's supposed to be a Redhat clone, so there's a decent change it will work out of the box without any mods.

Re: Linux Agent on Scientific Linux 6.2

Posted: Mon Sep 24, 2012 11:13 am
by scottwilkerson
We haven't tested this with

But you can try using the new Linux Agent installer

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent_testing.tar.gz
tar xzf linux-nrpe-agent_testing.tar.gz
cd linux-nrpe-agent
./fullinstall

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 1:27 am
by Tom_28
Thanks for your answers.

But when I try to install the LInux Agent (linux-nrpe-agent.tar.gz), the following Error appears...

./fullinstall
scientific6.2 is not currently supported. Please use Red Hat or CentOS versions 5 or 6.

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 1:32 am
by Tom_28
And when I try to install the new Agent (linux-nrpe-agent_testing.tar.gz), see the install.log error...

Code: Select all


NRPE Agent Installation
=======================
DATE: Tue Sep 25 08:18:55 CEST 2012

DISTRO INFO:
Scientific
6.2
x86_64

Running 'yum'...
Enabling epel repo...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14496  100 14496    0     0  46285      0 --:--:-- --:--:-- --:--:-- 47218
warning: epel-release-6-7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ##################################################
epel-release                ##################################################
epel-release RPM installed OK
epel-release RPM installed OK
yum step completed OK
Running 'prereqs'...
epel-release RPM installed OK
prereqs step completed OK
Running 'usersgroups'...
usersgroups step completed OK
Running 'services'...
services step completed OK
Running 'firewall'...
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
firewall step completed OK
Running 'subcomponents'...
SUB
NAGIOSPLUGINS
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

real    0m1.385s
user    0m0.085s
sys     0m0.101s
Making clean in po
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/po'
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* nagios-plugins.po nagios-plugins.1po nagios-plugins.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/po'
Making clean in plugins-root
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-root'
rm -rf .libs _libs
 rm -f check_dhcp check_dhcp
 rm -f check_icmp check_icmp
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-root'
Making clean in plugins-scripts
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-scripts'
test -z "check_breeze check_disk_smb check_flexlm check_ircd check_log check_oracle check_rpc check_sensors check_wave check_ifstatus check_ifoperstatus check_mailq check_file_age utils.sh utils.pm" || rm -f check_breeze check_disk_smb check_flexlm check_ircd check_log check_oracle check_rpc check_sensors check_wave check_ifstatus check_ifoperstatus check_mailq check_file_age utils.sh utils.pm
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-scripts'
Making clean in plugins
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins'
 rm -f check_apt check_apt
 rm -f check_cluster check_cluster
 rm -f check_disk check_disk
 rm -f check_dummy check_dummy
 rm -f check_http check_http
 rm -f check_load check_load
 rm -f check_mrtg check_mrtg
 rm -f check_mrtgtraf check_mrtgtraf
 rm -f check_ntp check_ntp
 rm -f check_ntp_peer check_ntp_peer
 rm -f check_nwstat check_nwstat
 rm -f check_overcr check_overcr
 rm -f check_ping check_ping
 rm -f check_real check_real
 rm -f check_smtp check_smtp
 rm -f check_ssh check_ssh
 rm -f check_tcp check_tcp
 rm -f check_time check_time
 rm -f check_ntp_time check_ntp_time
 rm -f check_ups check_ups
 rm -f check_users check_users
 rm -f negate negate
 rm -f urlize urlize
 rm -f check_ide_smart check_ide_smart
 rm -f check_mysql check_mysql
 rm -f check_mysql_query check_mysql_query
 rm -f check_procs check_procs
 rm -f check_nagios check_nagios
 rm -f check_hpjd check_hpjd
 rm -f check_snmp check_snmp
 rm -f check_by_ssh check_by_ssh
 rm -f check_swap check_swap
 rm -f check_nt check_nt
rm -rf .libs _libs
rm -f check_ftp check_imap check_nntp check_pop check_udp check_clamd check_simap check_spop check_jabber check_nntps check_ssmtp
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins'
Making clean in lib
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
Making clean in tests
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib/tests'
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib/tests'
Making clean in .
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
rm -rf .libs _libs
test -z "libnagiosplug.a" || rm -f libnagiosplug.a
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
Making clean in gl
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
test -z "configmake.h configmake.h-t charset.alias ref-add.sed ref-del.sed" || rm -f configmake.h configmake.h-t charset.alias ref-add.sed ref-del.sed
rm -rf .libs _libs
test -z "libgnu.a" || rm -f libgnu.a
test -z "" || rm -f
rm -f *.o
test -z "core *.stackdump alloca.h alloca.h-t arpa/inet.h arpa/inet.h-t float.h float.h-t getopt.h getopt.h-t math.h math.h-t netinet/in.h netinet/in.h-t stdbool.h stdbool.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t string.h string.h-t sys/socket.h sys/socket.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h wctype.h-t" || rm -f core *.stackdump alloca.h alloca.h-t arpa/inet.h arpa/inet.h-t float.h float.h-t getopt.h getopt.h-t math.h math.h-t netinet/in.h netinet/in.h-t stdbool.h stdbool.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t string.h string.h-t sys/socket.h sys/socket.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h wctype.h-t
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
Making clean in .
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'

real    0m0.330s
user    0m0.131s
sys     0m0.105s
make  all-recursive
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
Making all in gl
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat ./alloca.in.h; \
        } > alloca.h-t
mv -f alloca.h-t alloca.h
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#define PREFIX "/usr/local/nagios"'; \
          echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
          echo '#define BINDIR "/usr/local/nagios/bin"'; \
          echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
          echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
          echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
          echo '#define DATADIR "/usr/local/nagios/share"'; \
          echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
          echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
          echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
          echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
          echo '#define OLDINCLUDEDIR "/usr/include"'; \
          echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
          echo '#define INFODIR "/usr/local/nagios/share/info"'; \
          echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
          echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
          echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
          echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
          echo '#define LIBDIR "/usr/local/nagios/lib"'; \
          echo '#define LISPDIR ""'; \
          echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
          echo '#define MANDIR "/usr/local/nagios/share/man"'; \
          echo '#define MANEXT ""'; \
          echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
          echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
          echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
          echo '#define PKGLIBEXECDIR ""'; \
        } | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f math.h-t math.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_MATH_H''@|<math.h>|g' \
              -e 's|@''GNULIB_CEILF''@|0|g' \
              -e 's|@''GNULIB_CEILL''@|0|g' \
              -e 's|@''GNULIB_FLOORF''@|1|g' \
              -e 's|@''GNULIB_FLOORL''@|0|g' \
              -e 's|@''GNULIB_FREXP''@|0|g' \
              -e 's|@''GNULIB_FREXPL''@|0|g' \
              -e 's|@''GNULIB_ISFINITE''@|0|g' \
              -e 's|@''GNULIB_LDEXPL''@|0|g' \
              -e 's|@''GNULIB_MATHL''@|0|g' \
              -e 's|@''GNULIB_ROUND''@|0|g' \
              -e 's|@''GNULIB_ROUNDF''@|0|g' \
              -e 's|@''GNULIB_ROUNDL''@|0|g' \
              -e 's|@''GNULIB_SIGNBIT''@|0|g' \
              -e 's|@''GNULIB_TRUNC''@|0|g' \
              -e 's|@''GNULIB_TRUNCF''@|0|g' \
              -e 's|@''GNULIB_TRUNCL''@|0|g' \
              -e 's|@''HAVE_DECL_ACOSL''@|1|g' \
              -e 's|@''HAVE_DECL_ASINL''@|1|g' \
              -e 's|@''HAVE_DECL_ATANL''@|1|g' \
              -e 's|@''HAVE_DECL_COSL''@|1|g' \
              -e 's|@''HAVE_DECL_EXPL''@|1|g' \
              -e 's|@''HAVE_DECL_FREXPL''@|1|g' \
              -e 's|@''HAVE_DECL_LDEXPL''@|1|g' \
              -e 's|@''HAVE_DECL_LOGL''@|1|g' \
              -e 's|@''HAVE_DECL_SINL''@|1|g' \
              -e 's|@''HAVE_DECL_SQRTL''@|1|g' \
              -e 's|@''HAVE_DECL_TANL''@|1|g' \
              -e 's|@''HAVE_DECL_TRUNC''@|1|g' \
              -e 's|@''HAVE_DECL_TRUNCF''@|1|g' \
              -e 's|@''HAVE_DECL_TRUNCL''@|1|g' \
              -e 's|@''REPLACE_CEILF''@|0|g' \
              -e 's|@''REPLACE_CEILL''@|0|g' \
              -e 's|@''REPLACE_FLOORF''@|0|g' \
              -e 's|@''REPLACE_FLOORL''@|0|g' \
              -e 's|@''REPLACE_FREXP''@|0|g' \
              -e 's|@''REPLACE_FREXPL''@|0|g' \
              -e 's|@''REPLACE_ISFINITE''@|0|g' \
              -e 's|@''REPLACE_LDEXPL''@|0|g' \
              -e 's|@''REPLACE_ROUND''@|0|g' \
              -e 's|@''REPLACE_ROUNDF''@|0|g' \
              -e 's|@''REPLACE_ROUNDL''@|0|g' \
              -e 's|@''REPLACE_SIGNBIT''@|0|g' \
              -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|0|g' \
              -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
              < ./math.in.h; \
        } > math.h-t
mv math.h-t math.h
rm -f stdio.h-t stdio.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \
              -e 's|@''GNULIB_FPRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_PRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_SNPRINTF''@|1|g' \
              -e 's|@''GNULIB_SPRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_VFPRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_VPRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_VSNPRINTF''@|1|g' \
              -e 's|@''GNULIB_VSPRINTF_POSIX''@|0|g' \
              -e 's|@''GNULIB_VASPRINTF''@|1|g' \
              -e 's|@''GNULIB_FOPEN''@|0|g' \
              -e 's|@''GNULIB_FREOPEN''@|0|g' \
              -e 's|@''GNULIB_FSEEK''@|0|g' \
              -e 's|@''GNULIB_FSEEKO''@|0|g' \
              -e 's|@''GNULIB_FTELL''@|0|g' \
              -e 's|@''GNULIB_FTELLO''@|0|g' \
              -e 's|@''GNULIB_FFLUSH''@|0|g' \
              -e 's|@''GNULIB_GETDELIM''@|0|g' \
              -e 's|@''GNULIB_GETLINE''@|0|g' \
              -e 's|@''REPLACE_FPRINTF''@|0|g' \
              -e 's|@''REPLACE_VFPRINTF''@|0|g' \
              -e 's|@''REPLACE_PRINTF''@|0|g' \
              -e 's|@''REPLACE_VPRINTF''@|0|g' \
              -e 's|@''REPLACE_SNPRINTF''@|0|g' \
              -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
              -e 's|@''REPLACE_VSNPRINTF''@|0|g' \
              -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
              -e 's|@''REPLACE_SPRINTF''@|0|g' \
              -e 's|@''REPLACE_VSPRINTF''@|0|g' \
              -e 's|@''HAVE_VASPRINTF''@|1|g' \
              -e 's|@''REPLACE_VASPRINTF''@|0|g' \
              -e 's|@''REPLACE_FOPEN''@|0|g' \
              -e 's|@''REPLACE_FREOPEN''@|0|g' \
              -e 's|@''REPLACE_FSEEKO''@|0|g' \
              -e 's|@''REPLACE_FSEEK''@|0|g' \
              -e 's|@''REPLACE_FTELLO''@|0|g' \
              -e 's|@''REPLACE_FTELL''@|0|g' \
              -e 's|@''REPLACE_FFLUSH''@|0|g' \
              -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
              -e 's|@''HAVE_DECL_GETLINE''@|1|g' \
              -e 's|@''REPLACE_GETLINE''@|0|g' \
              -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
              < ./stdio.in.h; \
        } > stdio.h-t
mv stdio.h-t stdio.h
rm -f stdlib.h-t stdlib.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
              -e 's|@''GNULIB_MALLOC_POSIX''@|1|g' \
              -e 's|@''GNULIB_REALLOC_POSIX''@|0|g' \
              -e 's|@''GNULIB_CALLOC_POSIX''@|0|g' \
              -e 's|@''GNULIB_GETSUBOPT''@|0|g' \
              -e 's|@''GNULIB_MKDTEMP''@|0|g' \
              -e 's|@''GNULIB_MKSTEMP''@|0|g' \
              -e 's|@''GNULIB_PUTENV''@|0|g' \
              -e 's|@''GNULIB_SETENV''@|0|g' \
              -e 's|@''GNULIB_UNSETENV''@|0|g' \
              -e 's|@''HAVE_CALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_GETSUBOPT''@|1|g' \
              -e 's|@''HAVE_MALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_MKDTEMP''@|1|g' \
              -e 's|@''HAVE_REALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_SETENV''@|1|g' \
              -e 's|@''HAVE_UNSETENV''@|1|g' \
              -e 's|@''REPLACE_MKSTEMP''@|0|g' \
              -e 's|@''REPLACE_PUTENV''@|0|g' \
              -e 's|@''VOID_UNSETENV''@|0|g' \
              -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
              < ./stdlib.in.h; \
        } > stdlib.h-t
mv stdlib.h-t stdlib.h
rm -f string.h-t string.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_STRING_H''@|<string.h>|g' \
              -e 's|@''GNULIB_MBSLEN''@|0|g' \
              -e 's|@''GNULIB_MBSNLEN''@|0|g' \
              -e 's|@''GNULIB_MBSCHR''@|0|g' \
              -e 's|@''GNULIB_MBSRCHR''@|0|g' \
              -e 's|@''GNULIB_MBSSTR''@|0|g' \
              -e 's|@''GNULIB_MBSCASECMP''@|0|g' \
              -e 's|@''GNULIB_MBSNCASECMP''@|0|g' \
              -e 's|@''GNULIB_MBSPCASECMP''@|0|g' \
              -e 's|@''GNULIB_MBSCASESTR''@|0|g' \
              -e 's|@''GNULIB_MBSCSPN''@|0|g' \
              -e 's|@''GNULIB_MBSPBRK''@|0|g' \
              -e 's|@''GNULIB_MBSSPN''@|0|g' \
              -e 's|@''GNULIB_MBSSEP''@|0|g' \
              -e 's|@''GNULIB_MBSTOK_R''@|0|g' \
              -e 's|@''GNULIB_MEMMEM''@|0|g' \
              -e 's|@''GNULIB_MEMPCPY''@|0|g' \
              -e 's|@''GNULIB_MEMRCHR''@|0|g' \
              -e 's|@''GNULIB_STPCPY''@|0|g' \
              -e 's|@''GNULIB_STPNCPY''@|0|g' \
              -e 's|@''GNULIB_STRCHRNUL''@|0|g' \
              -e 's|@''GNULIB_STRDUP''@|1|g' \
              -e 's|@''GNULIB_STRNDUP''@|1|g' \
              -e 's|@''GNULIB_STRNLEN''@|1|g' \
              -e 's|@''GNULIB_STRPBRK''@|0|g' \
              -e 's|@''GNULIB_STRSEP''@|0|g' \
              -e 's|@''GNULIB_STRSTR''@|0|g' \
              -e 's|@''GNULIB_STRCASESTR''@|0|g' \
              -e 's|@''GNULIB_STRTOK_R''@|0|g' \
              -e 's|@''GNULIB_STRERROR''@|1|g' \
              -e 's|@''GNULIB_STRSIGNAL''@|0|g' \
              -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
              -e 's|@''HAVE_MEMPCPY''@|1|g' \
              -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
              -e 's|@''HAVE_STPCPY''@|1|g' \
              -e 's|@''HAVE_STPNCPY''@|1|g' \
              -e 's|@''HAVE_STRCHRNUL''@|1|g' \
              -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
              -e 's|@''HAVE_STRNDUP''@|1|g' \
              -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
              -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
              -e 's|@''HAVE_STRPBRK''@|1|g' \
              -e 's|@''HAVE_STRSEP''@|1|g' \
              -e 's|@''HAVE_STRCASESTR''@|1|g' \
              -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
              -e 's|@''HAVE_DECL_STRERROR''@|1|g' \
              -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
              -e 's|@''REPLACE_MEMMEM''@|0|g' \
              -e 's|@''REPLACE_STRCASESTR''@|0|g' \
              -e 's|@''REPLACE_STRSTR''@|0|g' \
              -e 's|@''REPLACE_STRERROR''@|0|g' \
              -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
              -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
              < ./string.in.h; \
        } > string.h-t
mv string.h-t string.h
rm -f unistd.h-t unistd.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
              -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
              -e 's|@''GNULIB_CHOWN''@|0|g' \
              -e 's|@''GNULIB_DUP2''@|0|g' \
              -e 's|@''GNULIB_FCHDIR''@|0|g' \
              -e 's|@''GNULIB_FTRUNCATE''@|0|g' \
              -e 's|@''GNULIB_GETCWD''@|0|g' \
              -e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
              -e 's|@''GNULIB_GETPAGESIZE''@|0|g' \
              -e 's|@''GNULIB_LCHOWN''@|0|g' \
              -e 's|@''GNULIB_LSEEK''@|0|g' \
              -e 's|@''GNULIB_READLINK''@|0|g' \
              -e 's|@''GNULIB_SLEEP''@|0|g' \
              -e 's|@''HAVE_DUP2''@|1|g' \
              -e 's|@''HAVE_FTRUNCATE''@|1|g' \
              -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_READLINK''@|1|g' \
              -e 's|@''HAVE_SLEEP''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
              -e 's|@''HAVE_OS_H''@|0|g' \
              -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
              -e 's|@''REPLACE_CHOWN''@|0|g' \
              -e 's|@''REPLACE_FCHDIR''@|0|g' \
              -e 's|@''REPLACE_GETCWD''@|0|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
              -e 's|@''REPLACE_LCHOWN''@|0|g' \
              -e 's|@''REPLACE_LSEEK''@|0|g' \
              < ./unistd.in.h; \
        } > unistd.h-t
mv unistd.h-t unistd.h
make  all-am
make[3]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \
        then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi
/bin/sh: gcc: command not found
make[3]: *** [base64.o] Error 1
make[3]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
make: *** [all] Error 2

real    0m0.133s
user    0m0.069s
sys     0m0.049s
Making install in gl
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make  install-am
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \
        then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi
/bin/sh: gcc: command not found
make[2]: *** [base64.o] Error 1
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make: *** [install-recursive] Error 1

real    0m0.052s
user    0m0.030s
sys     0m0.015s

===================
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 Enterprises technical support.

The step that failed was: 'subcomponents'

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 1:54 am
by Tom_28
Hi

So I had some missing modules on my server. i've installed it, and all works fine with the new Agent...

Thanks for your help
Thomas

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 9:08 am
by scottwilkerson
Would you care to share what modules you had to add?

It may hurry some developers along and get this into an official package....

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 9:32 am
by Tom_28
I had to install gcc, xinetd and openssl-devel.

Thomas

Re: Linux Agent on Scientific Linux 6.2

Posted: Tue Sep 25, 2012 10:38 am
by scottwilkerson
Thanks Thomas!