Timeout larger than 10 seconds
C. Bensend
benny at bennyvision.com
Mon Dec 15 20:50:45 CET 2003
>> 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... ;)
Benny
--
"Legend has it that once 100 posts have been made, The Dark Lord
Bernstein will rise from the prison of ice and wage his inevitable
war on mankind." -- Erik Bourget
-------------------------------------------------------
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