NRPE times out after 10 seconds

Masoud Tabrizi masoud.tabrizi at gmail.com
Thu Jul 19 16:34:51 CEST 2007


Thanks for your response: yes, I did reload both Nagios and restarted the
daemon for nrpe.  
Here is some additional info:

>From nrpe.cfg
command[check_logs1]=/opt/csw/libexec/nagios-plugins/check_logfiles -t 420 -
f /xxx/nrpe/config/myconfig_1.conf

service definition:

define service{
        use                             generic-service

        host_name                       cn-3
        service_description             PROD Logs1
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              1
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  OT
        notifications_enabled           1
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c
        check_command                   check_nrpe!check_logs1
name                            cn-3_MySE-DVCN_logs1
        }

My next step is to add the -t 240 to the service (i.e. check_command
check_nrpe!check_logs1 -t 240)

Any suggestions?
Thanks in advance!
M

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell
Sent: Wednesday, July 18, 2007 10:40 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE times out after 10 seconds



> -----Original Message-----
> From: Masoud Tabrizi [mailto:masoud.tabrizi at gmail.com]
> Sent: Wednesday, July 18, 2007 5:50 PM
> To: Marc Powell; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] NRPE times out after 10 seconds
> 
> All,
> I checked the timeout parameters and these are the only one I have:
> nagios.cfg:# TIMEOUT VALUES
> nagios.cfg:service_check_timeout=60
> nagios.cfg:host_check_timeout=30
> nagios.cfg:event_handler_timeout=30
> nagios.cfg:notification_timeout=30
> nagios.cfg:ocsp_timeout=5
> nagios.cfg:perfdata_timeout=5
> 
> Any suggestions?

You posted a timeout for check_logfiles and the above looks correct. Did
you also pass an increased timeout to check_nrpe that I expect is
calling check_logfiles on the remote machine? After increasing the
timeout for check_nrpe, did you restart or reload nagios? If so, please
post the service definition, command definition as well as example
plugin output (or nagios.log entry) when it fails.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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