Page 1 of 1

malloc(): memory corruption

Posted: Sat Oct 12, 2019 1:27 pm
by fsodah
Monitoring my web server .... I keep seeing these in my Report -> alert history ->

[10-12-2019 16:40:03] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;OK;SOFT;2;HTTP OK: HTTP/1.1 200 OK - 35811 bytes in 0.521 second response time
Service Unknown[10-12-2019 16:39:06] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;1;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x00000000019d6490 ***
Service Ok[10-12-2019 16:38:09] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;OK;SOFT;3;HTTP OK: HTTP/1.1 200 OK - 35842 bytes in 0.671 second response time
Service Unknown[10-12-2019 16:37:11] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;2;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x0000000000de85d0 ***
Service Unknown[10-12-2019 16:36:14] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;1;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x000000000076f4f0 ***
Service Ok[10-12-2019 16:15:20] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;OK;SOFT;2;HTTP OK: HTTP/1.1 200 OK - 35838 bytes in 0.761 second response time
Service Unknown[10-12-2019 16:14:21] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;1;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x000000000147f460 ***
Service Ok[10-12-2019 16:03:25] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;OK;SOFT;2;HTTP OK: HTTP/1.1 200 OK - 42796 bytes in 0.016 second response time
Service Unknown[10-12-2019 16:02:26] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;1;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x00000000011e36a0 ***
Service Ok[10-12-2019 16:01:28] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;OK;SOFT;2;HTTP OK: HTTP/1.1 200 OK - 44703 bytes in 0.015 second response time
Service Unknown[10-12-2019 16:00:30] SERVICE ALERT: MYWEBSERVERXXXX;HTTP;UNKNOWN;SOFT;1;(No output on stdout) stderr: *** Error in `/usr/local/nagios/libexec/check_http': malloc(): memory corruption: 0x0000000001d7b2f0 ***

Re: malloc(): memory corruption

Posted: Mon Oct 14, 2019 8:06 am
by scottwilkerson
I Believe this is related to this bug report
https://github.com/nagios-plugins/nagio ... issues/235

And will be released in the 2.2.2 version of the plugins when they come out

Re: malloc(): memory corruption

Posted: Mon Oct 14, 2019 11:09 am
by fsodah
Got it ... how will upgrade to the next version

Re: malloc(): memory corruption

Posted: Mon Oct 14, 2019 11:27 am
by scottwilkerson
fsodah wrote:Got it ... how will upgrade to the next version
I believe the next plugins release may be coming out in the next several weeks and the integration in XI will follow that.

Re: malloc(): memory corruption

Posted: Mon Oct 14, 2019 1:49 pm
by fsodah
done ... please close the ticket