nagios installation error
Posted: Mon Oct 16, 2017 12:31 pm
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
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
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
[ 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