Timeout larger than 10 seconds

Quanah Gibson-Mount quanah at stanford.edu
Mon Dec 15 20:58:12 CET 2003



--On Monday, December 15, 2003 1:50 PM -0600 "C. Bensend" 
<benny at bennyvision.com> wrote:

>
>>> I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h
>>> instead - that value overrides all others.  At least in my experience.
>>
>> I'm sure that's not the case. I have timeout values ranging anywhere from
>> 10 to 45 seconds depending on the plugin with no such modifications to
>> the source. The DEFAULT_SOCKET_TIMEOUT is probably applied IFF there is
>> no specific timeout specified in nagios.cfg
>
> Hey Marc,
>
>    Hmmm, that's interesting...  I've always had problems with the
> "Socket timeout after 10 seconds" if I _haven't_ modified common.h,
> regardless of the values I've provided to the plugins individually.
>
>    Specifically, I've had problems with check_smtp - no matter what
> I give the plugin, it adhered to the 10 second rule.  I changed the
> default in common.h, rebuilt the plugin, and voila!  It worked.
>
>    I don't _think_ I'm doing anything odd...  ;)

There is a value in nagios.cfg you have to update.  service_timeout or 
something like that.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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