service_message struct size warning
Andreas Ericsson
ae at op5.se
Tue Apr 5 00:31:54 CEST 2005
Ben Polson wrote:
> When running my configuration test, I get the following output as a warning:
>
> ----
> nagios at varanus> ./bin/nagios -v etc/nagios.cfg
>
> Nagios 2.0b2
> Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
> Last Modified: 02-09-2005
> License: GPL
>
> Reading configuration data...
>
> Running pre-flight check on configuration data...
>
> Warning: Size of service_message struct (528 bytes) is > POSIX-guaranteed
> atomic write size (512 bytes). Service checks results may get lost or
> mangled!
You don't have to worry. Linux goes well above the posix minimum (4096
bytes guaranteed for atomic writes).
> ----
>
> Can anyone help me in narrowing down how to reduce the size of my
> service_message struct to fix this?
It's not necessary, and this is a C-code thing. Judging by the tone of
this email, you're not going to be able to fix it.
> I checked the FAQ and did a google
> search, but couldn't find anything. I also tried changing the definitions
> for the notify-by-email and notify-by-epager entries in the misccommands.cfg
> in hopes that they were associated with this, but that didn't work. I am
> running 2.0b2 on SuSE Enterprise 9:
>
> nagios at varanus> uname -a
> Linux varanus 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005
> x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks in advance for any help.
>
> -Ben.
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list