添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
i have installed Nagios 4 successfully on Kali linux
now i want to install NRPE
i have downloaded nrpe-4.0.2 and run ./configure OK
when i try to install with make check_nrpe i get the error:
./nrpe.c:476:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
476 | DH_free(dh);
| ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/ssl.h:31,
from ../include/common.h:32:
/usr/include/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
./nrpe.c: In function ‘handle_conn_ssl’:
./nrpe.c :2029: 25: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2029 | while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
| ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld : /tmp/cczDbehp.o : dans la fonction « init_ssl » :
/home/Informatique/Nagios/nrpe-4.0.2/src/./nrpe.c:474 : référence indéfinie vers « get_dh2048 »
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:48 : nrpe] Erreur 1
make[1] : on quitte le répertoire « /home/Informatique/Nagios/nrpe-4.0.2/src »
make: *** [Makefile:80 : check_nrpe] Erreur 2 i suppose it's a SSL problem but i can't resolve this problem
can you help me please?
Regards
T Granier
that's what i have found but i don't know how to use it:
https://github.com/NagiosEnterprises/nrpe/issues/258
https://git.pld-linux.org/gitweb.cgi?p= ... ch;hb=HEAD
regards
  • Community Support Forums For Nagios Commercial Products
  • ↳   Nagios XI
  • ↳   Nagios Log Server
  • ↳   Nagios Network Analyzer
  • ↳   Nagios Fusion
  • ↳   Development on Github
  • ↳   Nagios Core
  • ↳   Nagios Plugins
  • ↳   NCPA
  • Community Support Forums For Nagios Open Source Projects
  • ↳   Open Source Nagios Projects
  •