Page 1 of 1
nagiosplugins-1.4.16 on Ubuntu 12.04
Posted: Mon Sep 10, 2012 9:08 pm
by w14219
I installed a clean instance of Ubuntu 12.04, Nagios 3.4.1 and am not able to successfully install the nagiosplugins-1.4.16.
error:[check_http.o] Error 1
thanks,
mike
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
Posted: Tue Sep 11, 2012 4:36 pm
by jsmurphy
Are you able to post more of the output? That little snippet doesn't provide enough information to diagnose the problem I'm afraid
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
Posted: Thu Sep 13, 2012 6:58 am
by w14219
Here is the output once I do the make command:
check_http.c:714:18: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:717:18: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: In function âprocess_argumentsâ:
check_http.c:268:16: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result]
check_http.c:397:16: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result]
check_http.c: In function âmainâ:
check_http.c:150:12: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Wunused-result]
make[2]: *** [check_http.o] Error 1
make[2]: Leaving directory `/home/w14219/downloads/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/w14219/downloads/nagios-plugins-1.4.16'
make: *** [all] Error 2
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
Posted: Thu Sep 13, 2012 4:25 pm
by w14219
I was able to get Nagios plugins working when I followed this guide:
http://ubuntuforums.org/showthread.php?t=1986743
I believe I was missing a library.
Thanks for your help
Mike
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
Posted: Thu Sep 13, 2012 4:30 pm
by slansing
We have a guide on integrating Nagios Core with Ubuntu, it is quite a recent one:
http://assets.nagios.com/downloads/nagi ... Source.pdf