Strange problem with plugins timing out

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Jan 31 06:22:36 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/01/09 09:59 AM, Sean Carolan wrote:
>> Here's how my check_by_ping plugin is configured:
>>
>> command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c
>> 5000.0,100% -p 5 -t 60
>>
>> Can anyone help me?  Why is it still timing out after ten seconds,
>> even when I have explicitly set the timeout at 60 seconds??
> 
> The FAQ page seems to indicate that the default timeout for most
> plugins is 10 seconds.  Why are my plugins still timing out even
> though I have "-t 60"?

Regarding your ping check, it may be trying to perform reverse DNS
lookups and when this times out it always take time. Try fixing the DNS
if you can, or use check_icmp instead (the plugin must be setuid root).

Besides the plugin timeouts, you also have the Nagios check timeouts
(nagios.cfg) and, when running plugins trough NRPE or SSH, the
check_{nrpm,ssh} timeout.

Hope this helps,

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJg+Ac6dZ+Kt5BchYRAuR9AJ4jIWQvNVSrqSZQRoxhnWK7JXrAvACfVbA+
EcecLTQ6ARSG+lrstHzVQI0=
=38+a
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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