When installing nagios on amd64 (3.8), this message is shown:
Beware that Nagios might or might not work correctly on 64bit machines.

Starting nagios results in this message:
Warning: Size of service_message struct (528 bytes) is >
POSIX-guaranteed atomic write size (512 bytes).  Service checks results
may get lost or mangled!

By applying the below patch, you can reduce the size of the
service_message struct by 16 bytes and make the warning go away.  The
patch has been applied upstream.  See:

http://article.gmane.org/gmane.network.nagios.devel/2603

Jamie Strandboge


--- include/objects.h.orig      Fri May  5 13:32:28 2006
+++ include/objects.h   Fri May  5 13:32:44 2006
@@ -34,7 +34,7 @@

 #define MAX_HOSTNAME_LENGTH                            64      /* max. host 
name length */
 #define MAX_SERVICEDESC_LENGTH                 64      /* max. service 
description length */
-#define MAX_PLUGINOUTPUT_LENGTH                        348     /* max. length 
of plugin output */
+#define MAX_PLUGINOUTPUT_LENGTH                        332     /* max. length 
of plugin output */

 #define MAX_STATE_HISTORY_ENTRIES              21      /* max number of old 
states to keep track of for flap detection */



Reply via email to