Re: [Nagios-users] nrpe timeout after 10 seconds

2008-03-13 Thread Wheeler, JF (Jonathan)

-Original Message-
From: nagios-users On Behalf Of Meylikhov
Sent: 13 March 2008 12:04

 I have 4 linux servers that are monitored by nagios. Sometimes I get
notification on my 
 contact e-mail:
 CHECK_NRPE: Socket timeout after 10 seconds. 
 Notifications stating that nrpe timed out come for ALL services and
for ALL hosts randomly
 every 1-2-3 hours.
 Then I get another notification stating that everything is fine. This
flapping events take
 place every 1-2-3-4-5 hours randomly.
 Nagios and monitoring servers are situated in the same network,
therefore I have no
 intermediary between monitoring servers and nagios.
 Can you help me to diagnose what's wrong? Can I increase socket
timeout variable on my
 nagios server? I think it could help.

There is a timeout on the nrpe command which you can set using -t option
(default is 10 secs).  Try adding -t 30 to your nrpe command, probably
in checkcommands.cfg

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nrpe timeout after 10 seconds

2008-03-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Wheeler, JF (Jonathan)
 Sent: Thursday, March 13, 2008 7:14 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nrpe timeout after 10 seconds
 
 
 -Original Message-
 From: nagios-users On Behalf Of Meylikhov
 Sent: 13 March 2008 12:04
 
  I have 4 linux servers that are monitored by nagios. Sometimes I get
 notification on my
  contact e-mail:
  CHECK_NRPE: Socket timeout after 10 seconds.


 There is a timeout on the nrpe command which you can set using -t
option
 (default is 10 secs).  Try adding -t 30 to your nrpe command,
probably
 in checkcommands.cfg

You'll also need to adjust service_check_timeout in nagios.cfg to be
higher than your highest plugin specific timeout.

--
Marc


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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