Nagios and passive checks

Andreas Ericsson ae at op5.se
Mon Sep 20 08:51:26 CEST 2004


pshemko wrote:
>>I think the default buffer size is 4kb.  You could try recompiling
>>Nagios to use a bigger buffer and that might provide the quickest
>>fix.
> 
> 
> BTW, I couldn't find the buffer size (for the pipe) anywhere in the sources,
> do you know where is it defined?
> 

It's in the kernel. Nagios has no control of how much data is buffered 
in a FIFO.

> 
>>You could also look at the command_check_interval setting in the
>>main configuration file, but you might have to fiddle with the
>>interval_length to get any benefit out of that.
> 

interval_length does nothing for passive checks. Try instead setting 
command_check_interval=-1 in your main config file (check for external 
commands as often as possible).
I don't know if this works with Nagios 1.x, but if you're mainly using 
passive checks I expect it should be safe to use 2.0, since you wouldn't 
need the broken embedded perl parser.

> 
> Regards
> Pshemko
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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