strange Warning and source modification

Andreas Ericsson ae at op5.se
Tue Jun 28 19:21:58 CEST 2005


Marc Powell wrote:
> 
>> -----Original Message----- From:
>> nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- 
>> admin at lists.sourceforge.net] On Behalf Of Basile Mathieu Sent:
>> Tuesday, June 28, 2005 10:27 AM To:
>> nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange
>> Warning and source modification
>> 
>> 
>> 
>> hi i have two questions : first i have this line in my log and don
>> t understand what it means
>> 
>> /usr/local/nagios/var/nagios.log:[1119960410] Warning:  Message
>> queue contained results for service '' on host 'ú'.  The service
>> could not be found! /usr/local/nagios/var/nagios.log:[1119960661]
>> Warning:  Message queue contained results for service '' on host
>> 'õx /usr/local/nagios/var/nagios.log:[1119961089] Warning:  Message
>> queue contained results for service '' on host 'âß '.  The service
>> could not be found! /usr/local/nagios/var/nagios.log:[1119961370]
>> Warning:  Message queue contained results for service '' on host
>> 'û'.  The service could not be found! 
>> /usr/local/nagios/var/nagios.log:[1119961930] Warning:  Message
>> queue contained results for service '' on host 'xð'.  The service
>> could not be found! /usr/local/nagios/var/nagios.log:[1119963481]
>> Warning:  Message queue contained results for service
>> 'os/etc/switch_conf_195.220.107.207' on host ' '.  The service
>> could not be found!
> 
> 
> You haven't provided much information on your installation but at a
> guess, you have something that is writing bad data to nagios.cmd. Do
> you have something submitting passive service checks? Have you
> mistakenly configured some application to write to nagios.cmd when it
> shouldn't be? I would have expected something like
> 'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where
> does that come from?
> 
> 
>> second i use nagios to get vlan information and  to see it in the
>> nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT
>> larger when i launch nagios i have
>> 
>> Warning: Size of service_message struct (4252 bytes) is >
>> POSIX-guaranteed atomic write size (512 bytes).  Service checks
>> results may get lost or mangled!
>> 
>> and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems
>> that the output in the web interface don t increase
> 
> 
> Hmm. Seems like that would correlate nicely with the problems that
> you're seeing above (specifically service checks being mangled). This
> last might be better for nagios-devel but I'll bet that the max size
> and the warning above are there for a reason. 4K is a _lot_ for
> plugin return data and I'll bet there are other variables that you'll
> need to adjust to support that, if it's possible at all.
> 

It's possible, but on Linux some fiddling and a re-compile of the kernel 
is necessary to enable named pipe transfers larger than 4096 bytes. I 
believe (although I'm not sure) that this holds true for *BSD as well.

> -- Marc
> 
> 
> ------------------------------------------------------- SF.Net email
> is sponsored by: Discover Easy Linux Migration Strategies from IBM.
> Find simple to follow Roadmaps, straightforward articles, informative
> Webcasts and more! Get everything you need to get up to speed, fast.
> http://ads.osdn.com/?ad_idt77&alloc_id492&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.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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