AW: Socket Timeout
Thomas.Zimmer at oppenheim.de
Thomas.Zimmer at oppenheim.de
Tue Oct 18 13:20:48 CEST 2005
Hi Andreas,
Many thanks for the solution of the timout-prob. Do you think the
modification the socket receive buffers could cause undesireble consequences
for the system nagios is running on? Any security-related issues?
Greetings, Thomas Zimmer
Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Mobil: 0177/ 540 70 56
Internet: http://www.oppenheim.de
E-Mail: thomas.zimmer at oppenheim.de
-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Andreas
Ericsson
Gesendet: Dienstag, 18. Oktober 2005 11:58
An: PEYRE Julien
Cc: nagios-users at lists.sourceforge.net
Betreff: Re: [Nagios-users] Socket Timeout
PEYRE Julien wrote:
> Hello everybody,
>
> I'm trying to use Nagios in order to survey our databases with custom
> plug-in. On Nagios browser, if I choose a host and I launch "Schedule
> an immediate check of all services on this host", I have all status
> for all services that take value " CHECK_NRPE: Socket Timeout after 10
> seconds".
>
> If I launch an immediate check service by service (one by one), it's
> OK, it functions.
>
> Any idea would be welcome !
>
You're most likely flooding the socket receive buffers in the kernel.
What systems are you seeing this on and how many checks are there to
run? Most systems have an accept(2) queue size of five, so above that
and you're in uncharted territory unless you fiddle with the
receive-buffers directly through fcntl(2) in which case it should be
possible to set it to some quite large value (see check_icmp.c on how to
do this).
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zimmer, Thomas (Produktservices und Betrieb).vcf
Type: application/octet-stream
Size: 254 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051018/5028dd6b/attachment.obj>
More information about the Users
mailing list