Page 1 of 1

nagios installation error

Posted: Mon Oct 16, 2017 12:31 pm
by vishalpatle15
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =6&t=46025
In the future, please create a new thread and link to the old one instead of adding on.


Hello,

We are facing below error while we are installing nagios plugin on SLES 12 SP2 and it seems like serious security issue. Can you please help?

we are trying to deploy nagios-plugin 2.2.1 and successfully able to deploy on RHEL 7.3 but it failed on SLES SP2. See below errors.

230s] I: Program is using implicit definitions of functions getting
[ 230s] pointers or implemented by macros. These functions need to use their
[ 230s] correct prototypes to allow correct argument passing on e.g. x86_64 .
[ 230s] - Implicit memory/string functions need #include <string.h>.
[ 230s] - Implicit *printf functions need #include <stdio.h>.
[ 230s] - Implicit *printf functions need #include <stdio.h>.
[ 230s] - Implicit *read* functions need #include <unistd.h>.
[ 230s] - Implicit *recv* functions need #include <sys/socket.h>.
[ 230s] W: nagios-plugins-orch implicit-pointer-decl utils.c:777, 787
[ 230s]
[ 230s] I: Program is likely to break with new gcc. Try -fno-strict-aliasing.
[ 230s] W: nagios-plugins-orch strict-aliasing-punning check_ntp.c:211, 212, 213, 222, 223, 224, 225, 235, 236, 238, 239, 240, 241, 289, 290, 293, 461, 462
[ 230s] W: nagios-plugins-orch strict-aliasing-punning check_ntp_time.c:193, 194, 195, 204, 205, 206, 207, 217, 218, 220, 221, 222, 223, 235, 236, 239, 406, 407
[ 230s]
[ 230s] I: Statement is overflowing a buffer
[ 230s] E: nagios-plugins-orch bufferoverflow check_http.c:1497:16
[ 230s]
[ 230s] I: Program returns random data in a function
[ 230s] E: nagios-plugins-orch no-return-in-nonvoid-function utils_base.c:445
[ 230s]
[ 230s] I: Program returns random data in a function
[ 230s] E: nagios-plugins-orch no-return-in-nonvoid-function utils_base.c:445
[ 230s] ### WATCHDOG MARKER START ###
[ 233s] [ 221.647116] reboot: Power down
[ 234s] ### WATCHDOG MARKER END ###

Regards,
Vishal Patel

Re: nagios installation error

Posted: Mon Oct 16, 2017 2:47 pm
by dwasswa
Hi @vishalpatle15

1.Are you installing the plugins?

2.Are you doing a full compile or using the linux agent?

Re: nagios installation error

Posted: Mon Oct 16, 2017 6:32 pm
by tacolover101
assuming this is security related, this may be better posted over here - https://github.com/nagios-plugins/nagios-plugins/issues

Re: nagios installation error

Posted: Tue Oct 17, 2017 10:50 am
by lmiltchev
@vishalpatle15 Thank you for posting the issue here: https://github.com/nagios-plugins/nagio ... issues/333! Our developers will be looking into it. Meanwhile, is it OK to lock this topic? Thank you!

Re: nagios installation error

Posted: Wed Oct 18, 2017 11:12 am
by vishalpatle15
@lmiltchev, Please go ahead and lock it.

I really appreciate your help.

Regards,
Vishal Patel

Re: nagios installation error

Posted: Wed Oct 18, 2017 11:16 am
by kyang
Locking this topic.

If you have more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!