View Full Version : Demande assistance install nrpe
bon vu ke personne ne me répod dans " installation" jvé en reparler ici...
voila jvoudrais fer des check de l espace disk et de la charge du cpu d'un serveur linux distant, donc j aimeré bien savoir comment on installe et se sert de nrpe coté client et coté serveur, où je pourré trouver le démon, et je crois ke c tout, voila
a la revoyure
bon voila j'ai trouvé ce ke je cherchai mais lorske j'ai voulu le compiler bin ya eu un pb en rapport avec ssl ( voir en bas ) , au passage j'ai kom package installé en raport avec ssl :
- apache2-mod-ssl-2.0.48-6mdk
- openssl-0.9.7c-3mdk
- perl-Net_ssleay-1.25-2mdk
voila ma compilation :
[admin@oreon nrpe-2.0]# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for grp.h... yes
checking for inttypes.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for signal.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for arpa/inet.h... yes
checking for netinet/in.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking size of int... 4
checking size of short... 2
checking size of long... 4
checking for uint32_t... no
checking for u_int32_t... yes
checking for int32_t... yes
checking for main in -lnsl... yes
checking for socket in -lsocket... no
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for type of socket size... size_t
checking for SSL... configure: error: Cannot find ssl libraries
[admin@oreon nrpe-2.0]#
[admin@oreon nrpe-2.0]# make all
make: *** Pas de règle pour fabriquer la cible « all ». Arrêt.
boubou
06-01-2005, 09:35 AM
J'ai eu le meme soucis. J'ai installé la version 1.9. Et la pas de probleme.
PAr contre je suis entrain de chercher comme ca fonctionne. :cry:
wistof
06-01-2005, 09:41 AM
Il faut installer les lib ssl...
libopenssl0.9.7-0.9.7e-5mdk
libopenssl0.9.7-devel-0.9.7e-5mdk
libopenssl0.9.7-static-devel-0.9.7e-5mdk
boubou
06-01-2005, 09:46 AM
J'ai une petite question
Pour utiliser nrpe, il faut qu'il y ait qqch d'installer sur windows et l'autre sur linux ? C'est bien ca ?
wistof
06-01-2005, 09:47 AM
oui, il faut installer le daemon nrpe
merci la compilation fonctionne, bon jvé voir pour la suite maintenant
naparuba
06-06-2005, 07:32 AM
On peut ne pas mettre le ssl, c'est mieux si on ne s'en sert pas car sinon ca ralenti les connexions. Mais bon si les infos sont confidentielles il vaut mieux le mettre :p
Sinon pour avoir le mode de fontionnement de NRPE (et NCSA) il y a un article de linuxmag sur nagios qui explique très bien cela, un coup de google et c'est retrouvable je pense ;)