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
nagiosplugins-1.4.16 on Ubuntu 12.04
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
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
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
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
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
http://ubuntuforums.org/showthread.php?t=1986743
I believe I was missing a library.
Thanks for your help
Mike
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nagiosplugins-1.4.16 on Ubuntu 12.04
We have a guide on integrating Nagios Core with Ubuntu, it is quite a recent one:
http://assets.nagios.com/downloads/nagi ... Source.pdf
http://assets.nagios.com/downloads/nagi ... Source.pdf