nagios installation error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishalpatle15
Posts: 2
Joined: Mon Oct 16, 2017 12:26 pm

nagios installation error

Post 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
dwasswa

Re: nagios installation error

Post by dwasswa »

Hi @vishalpatle15

1.Are you installing the plugins?

2.Are you doing a full compile or using the linux agent?
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: nagios installation error

Post by tacolover101 »

assuming this is security related, this may be better posted over here - https://github.com/nagios-plugins/nagios-plugins/issues
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios installation error

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
vishalpatle15
Posts: 2
Joined: Mon Oct 16, 2017 12:26 pm

Re: nagios installation error

Post by vishalpatle15 »

@lmiltchev, Please go ahead and lock it.

I really appreciate your help.

Regards,
Vishal Patel
kyang

Re: nagios installation error

Post by kyang »

Locking this topic.

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

Thank you for using the Nagios Support Forum!
Locked