Problème d'installation les plugins-nagios

Fermé
Mayoutaaa Messages postés 4 Date d'inscription jeudi 13 juin 2013 Statut Membre Dernière intervention 13 juin 2013 - 13 juin 2013 à 12:27
rentabilicus Messages postés 231 Date d'inscription samedi 9 août 2008 Statut Membre Dernière intervention 5 novembre 2013 - 13 juin 2013 à 15:01
Bonjour tout le monde,
J'ai installé ICINGA 1.9.1 et il faut aussi installer les plugins-nagios mais j'ai trouvé des difficultés d'installation :( .
#./configure ./configure --prefix=/usr/local/icinga \
--enable-perl-modules \
--with-nagios-user=icinga \
--with-nagios-group=icinga \
--with-cgiurl=/icinga/cgi-bin
après j'ai tapeé la commande suivante pour la compilation:
#make all
et voici l'erreur:
make all-recursive
make[1]: Entering directory '/usr/local/src/nagios-plugins-1.4.16'
Making all in gl
make[2]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/gl'
rm -f configmake.h-t && \
{ 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 "/usr/local/nagios/libexec/nagios-plugins"'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make all-recursive
make[3]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/gl'
make[4]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/gl'
rm -f configmake.h-t && \
{ 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 "/usr/local/nagios/libexec/nagios-plugins"'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make[4]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/gl'
make[3]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/gl'
make[2]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/gl'
Making all in tap
make[2]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/tap'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/tap'
Making all in lib
make[2]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/lib'
Making all in .
make[3]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/lib'
Making all in tests
make[3]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/lib/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/lib/tests'
make[2]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/lib'
Making all in plugins
make[2]: Entering directory '/usr/local/src/nagios-plugins-1.4.16/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.16"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
check_http.c: In function 'process_arguments':
check_http.c:312: error: 'ssl_version' undeclared (first use in this function)
check_http.c:312: error: (Each undeclared identifier is reported only once
check_http.c:312: error: for each function it appears in.)
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/nagios-plugins-1.4.16'
make: *** [all] Error 2
SVP j'ai besoin de vos aides :((((
Et merci d'avance :)
A voir également:

1 réponse

rentabilicus Messages postés 231 Date d'inscription samedi 9 août 2008 Statut Membre Dernière intervention 5 novembre 2013 4
13 juin 2013 à 15:01
Pour installer un soft (ou un paquet) sous Opensuse tu dois aller dans Yast -> Installer ou supprimer des logiciels --> Onglet Rechercher --> 'nom du soft' et appuyer sur rechercher --> Cochez le ou les soft(s) souhaité(s) --> Appuyez bouton accepter.

Et le logiciel sera installé.
1