[Nagios-users] Timeouts for send_nsca program

2007-10-09 Thread Wheeler, JF (Jonathan)
In /var/log/nagios/nagios.log on (at least) one of my slave servers, I
am seeing messages like:

[1191905959] Warning: OCSP command
'/usr/lib/nagios/plugins/tier1/submit_check_result.sh HOST
SERVICE_CHECK OK MESSAGE for service SERVICE NAME on host HOST
timed out after 5 seconds

There have been 712 occurrences today (so far).  Can anyone offer an
explanation ?  As far as I can tell there is no configuration to
increase the timeout limit (can it be increased by installing from
source ?), but perhaps the message indicates another problem (network ?)

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Timeouts for send_nsca program

2007-10-09 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Wheeler, JF (Jonathan)
 Sent: Tuesday, October 09, 2007 10:24 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Timeouts for send_nsca program
 
 In /var/log/nagios/nagios.log on (at least) one of my slave servers, I
 am seeing messages like:
 
 [1191905959] Warning: OCSP command
 '/usr/lib/nagios/plugins/tier1/submit_check_result.sh HOST
 SERVICE_CHECK OK MESSAGE for service SERVICE NAME on host HOST
 timed out after 5 seconds
 
 There have been 712 occurrences today (so far).  Can anyone offer an
 explanation ?  

Something is causing a delay when your submit_check_result.sh script
presumably attempts to use send_nsca to send a small bit of data to
another host. Can you replicate it from the command line? You should be
able to.

 As far as I can tell there is no configuration to
 increase the timeout limit (can it be increased by installing from

ocsp_timeout in nagios.cfg.

 source ?), but perhaps the message indicates another problem (network
?)

Probably. If it's close to the documented submit_check_result, it's
sending only a small bit of data and should only take a fraction of a
second. I can use it to send data to two hosts in 0.011s. Maybe network
problems or load on either end are causing a delay in the data
transmission.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Timeouts for send_nsca program

2007-10-09 Thread Anthony Montibello
 Make sure NSCA is still accepting the results from send_nsca.
to do this send over a result from the command line.
reviewing your submit_check_result.sh should give you the connection details
of the destination nsca,
and the send_nsca --help should assist with the commanad line,

This is assuming that it used to work, and would only detect that it is
currently broken.
but not why it broke nor how to fix it.
if it is intermittent, you can trial and error to find a good Timeout value
using the command line.

other people would be better at diagnosing the cause of the issue.

Tony (author of NC_Net)

On 10/9/07, Wheeler, JF (Jonathan) [EMAIL PROTECTED] wrote:

 In /var/log/nagios/nagios.log on (at least) one of my slave servers, I
 am seeing messages like:

 [1191905959] Warning: OCSP command
 '/usr/lib/nagios/plugins/tier1/submit_check_result.sh HOST
 SERVICE_CHECK OK MESSAGE for service SERVICE NAME on host HOST
 timed out after 5 seconds

 There have been 712 occurrences today (so far).  Can anyone offer an
 explanation ?  As far as I can tell there is no configuration to
 increase the timeout limit (can it be increased by installing from
 source ?), but perhaps the message indicates another problem (network ?)

 Jonathan Wheeler
 e-Science Centre
 Rutherford Appleton Laboratory

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
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