Bug 469198
Summary: | Increasing of buffer size of Output PerfData for Active and Passive checks | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | FALQUE Benjamin <benjamin.falque> |
Component: | nagios | Assignee: | Peter Lemenkov <lemenkov> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | el5 | CC: | carl, e.torkhov, lemenkov, linux, mastahnke, michel.konst, mmcgrath, patrice.corporon, shawn.starr, xavier |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | ActualBug | ||
Fixed In Version: | nagios-plugins-1.4.14-4.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-06-23 22:10:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
FALQUE Benjamin
2008-10-30 15:21:04 UTC
Hello, Anybody could it look at this problem, please ? Could you post a comment to know when it will be fix please? Thanks a lot Regards Benjamin Give this build a try: http://buildsys.fedoraproject.org/needsign/fedora-5-epel/nagios/2.12-5.el5/ Hello, I just noticed that the patch applied in 2.12-5 introduces another bug, though just a cosmetic one. Whenever we run the preflight check we get the following warning: Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! The 'service_message' struct contains: char output[MAX_PLUGINOUTPUT_LENGTH]; /* plugin output */ The MAX_PLUGINOUTPUT_LENGTH was increased by the patch from 332 to 8192. This results in the service_message struct to always be larger than 512 bytes. Statement generating this warning is found in base/config.c in the pre_flight_check function. The hard value in the if statement should be changed to 8376 (I think? I'm not sure as to how to calculate this). I'm not sure if this has been fixed in the upstream cvs yet, but either way it generates a warning that might confuse people (I took me and a colleague some time to figure out what was wrong here, but apparently it can be safely ignored). Regards, Michel Könst nagios-plugins-1.4.14-4.el5,nagios-2.12-9.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/nagios-plugins-1.4.14-4.el5,nagios-2.12-9.el5 nagios-plugins-1.4.14-4.el4,nagios-2.12-9.el4 has been submitted as an update for Fedora EPEL 4. http://admin.fedoraproject.org/updates/nagios-plugins-1.4.14-4.el4,nagios-2.12-9.el4 nagios-plugins-1.4.14-4.el4, nagios-2.12-9.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios-plugins nagios'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/nagios-plugins-1.4.14-4.el4,nagios-2.12-9.el4 nagios-plugins-1.4.14-4.el5, nagios-2.12-9.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nagios-plugins nagios'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/nagios-plugins-1.4.14-4.el5,nagios-2.12-9.el5 nagios-plugins-1.4.14-4.el4, nagios-2.12-9.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report. nagios-plugins-1.4.14-4.el5, nagios-2.12-9.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. Running nagios-2.12-9.el4 nagios-plugins-1.4.14-4.el4 Still get the warning: /usr/sbin/nagios -v /etc/nagios/nagios.cfg Warning: Size of service_message struct (8356 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! Running nagios-2.12-10.el5 nagios-plugins-1.4.15-2.el5 Still get the warning: Warning: Size of service_message struct (8376 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! |